home *** CD-ROM | disk | FTP | other *** search
Text File | 1999-02-28 | 96.7 KB | 3,300 lines |
- // Created by Microsoft (R) C/C++ Compiler Version 12.00.8168.0 (140e9aa2).
- //
- // i:\devstudio\myprojects\daolib2\debug\dao2535.tlh
- //
- // C++ source equivalent of Win32 type library c:\Program Files\Common Files\Microsoft Shared\Dao\dao2535.tlb
- // compiler-generated file created 02/26/99 at 12:18:41 - DO NOT EDIT!
-
- #pragma once
- #pragma pack(push, 8)
-
- #include <comdef.h>
-
- namespace DAO {
-
- //
- // Forward references and typedefs
- //
-
- struct __declspec(uuid("000000a0-0000-0010-8000-00aa006d2ea4"))
- /* dual interface */ _Collection;
- struct __declspec(uuid("000000a2-0000-0010-8000-00aa006d2ea4"))
- /* dual interface */ _DynaCollection;
- struct __declspec(uuid("0000000a-0000-0010-8000-00aa006d2ea4"))
- /* dual interface */ _DAO;
- struct __declspec(uuid("00000021-0000-0010-8000-00aa006d2ea4"))
- /* dual interface */ _DBEngine;
- struct /* coclass */ DBEngine;
- struct /* coclass */ PrivDBEngine;
- struct __declspec(uuid("00000023-0000-0010-8000-00aa006d2ea4"))
- /* dual interface */ Error;
- struct __declspec(uuid("00000025-0000-0010-8000-00aa006d2ea4"))
- /* dual interface */ Errors;
- struct __declspec(uuid("00000039-0000-0010-8000-00aa006d2ea4"))
- /* dual interface */ Workspace;
- struct __declspec(uuid("0000003b-0000-0010-8000-00aa006d2ea4"))
- /* dual interface */ Workspaces;
- struct __declspec(uuid("00000049-0000-0010-8000-00aa006d2ea4"))
- /* dual interface */ _TableDef;
- struct __declspec(uuid("0000004b-0000-0010-8000-00aa006d2ea4"))
- /* dual interface */ TableDefs;
- struct /* coclass */ TableDef;
- struct __declspec(uuid("00000071-0000-0010-8000-00aa006d2ea4"))
- /* dual interface */ Database;
- struct __declspec(uuid("00000073-0000-0010-8000-00aa006d2ea4"))
- /* dual interface */ Databases;
- struct __declspec(uuid("00000079-0000-0010-8000-00aa006d2ea4"))
- /* dual interface */ _QueryDef;
- struct __declspec(uuid("0000007b-0000-0010-8000-00aa006d2ea4"))
- /* dual interface */ QueryDefs;
- struct /* coclass */ QueryDef;
- struct __declspec(uuid("00000031-0000-0010-8000-00aa006d2ea4"))
- /* dual interface */ Recordset;
- struct __declspec(uuid("00000033-0000-0010-8000-00aa006d2ea4"))
- /* dual interface */ Recordsets;
- struct __declspec(uuid("00000051-0000-0010-8000-00aa006d2ea4"))
- /* dual interface */ _Field;
- struct /* coclass */ Field;
- struct __declspec(uuid("00000053-0000-0010-8000-00aa006d2ea4"))
- /* dual interface */ Fields;
- struct __declspec(uuid("00000059-0000-0010-8000-00aa006d2ea4"))
- /* dual interface */ _Index;
- struct /* coclass */ Index;
- struct __declspec(uuid("0000005b-0000-0010-8000-00aa006d2ea4"))
- /* dual interface */ Indexes;
- struct __declspec(uuid("0000005d-0000-0010-8000-00aa006d2ea4"))
- /* dual interface */ IndexFields;
- struct __declspec(uuid("00000081-0000-0010-8000-00aa006d2ea4"))
- /* dual interface */ Parameter;
- struct __declspec(uuid("00000083-0000-0010-8000-00aa006d2ea4"))
- /* dual interface */ Parameters;
- struct __declspec(uuid("00000069-0000-0010-8000-00aa006d2ea4"))
- /* dual interface */ _User;
- struct /* coclass */ User;
- struct __declspec(uuid("0000006b-0000-0010-8000-00aa006d2ea4"))
- /* dual interface */ Users;
- struct __declspec(uuid("00000061-0000-0010-8000-00aa006d2ea4"))
- /* dual interface */ _Group;
- struct /* coclass */ Group;
- struct __declspec(uuid("00000063-0000-0010-8000-00aa006d2ea4"))
- /* dual interface */ Groups;
- struct __declspec(uuid("00000089-0000-0010-8000-00aa006d2ea4"))
- /* dual interface */ _Relation;
- struct /* coclass */ Relation;
- struct __declspec(uuid("0000008b-0000-0010-8000-00aa006d2ea4"))
- /* dual interface */ Relations;
- struct __declspec(uuid("00000027-0000-0010-8000-00aa006d2ea4"))
- /* dual interface */ Property;
- struct __declspec(uuid("00000029-0000-0010-8000-00aa006d2ea4"))
- /* dual interface */ Properties;
- struct __declspec(uuid("00000091-0000-0010-8000-00aa006d2ea4"))
- /* dual interface */ Container;
- struct __declspec(uuid("00000093-0000-0010-8000-00aa006d2ea4"))
- /* dual interface */ Containers;
- struct __declspec(uuid("00000099-0000-0010-8000-00aa006d2ea4"))
- /* dual interface */ Document;
- struct __declspec(uuid("0000009b-0000-0010-8000-00aa006d2ea4"))
- /* dual interface */ Documents;
- struct __declspec(uuid("00000041-0000-0010-8000-00aa006d2ea4"))
- /* dual interface */ Connection;
- struct __declspec(uuid("00000043-0000-0010-8000-00aa006d2ea4"))
- /* dual interface */ Connections;
- struct __declspec(uuid("000000fd-0000-0010-8000-00aa006d2ea4"))
- /* dual interface */ Snapshot;
- struct __declspec(uuid("000000fe-0000-0010-8000-00aa006d2ea4"))
- /* dual interface */ Table;
- struct __declspec(uuid("000000ff-0000-0010-8000-00aa006d2ea4"))
- /* dual interface */ Dynaset;
-
- //
- // Smart pointer typedef declarations
- //
-
- _COM_SMARTPTR_TYPEDEF(_Collection, __uuidof(_Collection));
- _COM_SMARTPTR_TYPEDEF(_DynaCollection, __uuidof(_DynaCollection));
- _COM_SMARTPTR_TYPEDEF(_DAO, __uuidof(_DAO));
- _COM_SMARTPTR_TYPEDEF(_DBEngine, __uuidof(_DBEngine));
- _COM_SMARTPTR_TYPEDEF(Error, __uuidof(Error));
- _COM_SMARTPTR_TYPEDEF(Errors, __uuidof(Errors));
- _COM_SMARTPTR_TYPEDEF(Workspace, __uuidof(Workspace));
- _COM_SMARTPTR_TYPEDEF(Workspaces, __uuidof(Workspaces));
- _COM_SMARTPTR_TYPEDEF(_TableDef, __uuidof(_TableDef));
- _COM_SMARTPTR_TYPEDEF(TableDefs, __uuidof(TableDefs));
- _COM_SMARTPTR_TYPEDEF(Database, __uuidof(Database));
- _COM_SMARTPTR_TYPEDEF(Databases, __uuidof(Databases));
- _COM_SMARTPTR_TYPEDEF(_QueryDef, __uuidof(_QueryDef));
- _COM_SMARTPTR_TYPEDEF(QueryDefs, __uuidof(QueryDefs));
- _COM_SMARTPTR_TYPEDEF(Recordset, __uuidof(Recordset));
- _COM_SMARTPTR_TYPEDEF(Recordsets, __uuidof(Recordsets));
- _COM_SMARTPTR_TYPEDEF(_Field, __uuidof(_Field));
- _COM_SMARTPTR_TYPEDEF(Fields, __uuidof(Fields));
- _COM_SMARTPTR_TYPEDEF(_Index, __uuidof(_Index));
- _COM_SMARTPTR_TYPEDEF(Indexes, __uuidof(Indexes));
- _COM_SMARTPTR_TYPEDEF(IndexFields, __uuidof(IndexFields));
- _COM_SMARTPTR_TYPEDEF(Parameter, __uuidof(Parameter));
- _COM_SMARTPTR_TYPEDEF(Parameters, __uuidof(Parameters));
- _COM_SMARTPTR_TYPEDEF(_User, __uuidof(_User));
- _COM_SMARTPTR_TYPEDEF(Users, __uuidof(Users));
- _COM_SMARTPTR_TYPEDEF(_Group, __uuidof(_Group));
- _COM_SMARTPTR_TYPEDEF(Groups, __uuidof(Groups));
- _COM_SMARTPTR_TYPEDEF(_Relation, __uuidof(_Relation));
- _COM_SMARTPTR_TYPEDEF(Relations, __uuidof(Relations));
- _COM_SMARTPTR_TYPEDEF(Property, __uuidof(Property));
- _COM_SMARTPTR_TYPEDEF(Properties, __uuidof(Properties));
- _COM_SMARTPTR_TYPEDEF(Container, __uuidof(Container));
- _COM_SMARTPTR_TYPEDEF(Containers, __uuidof(Containers));
- _COM_SMARTPTR_TYPEDEF(Document, __uuidof(Document));
- _COM_SMARTPTR_TYPEDEF(Documents, __uuidof(Documents));
- _COM_SMARTPTR_TYPEDEF(Connection, __uuidof(Connection));
- _COM_SMARTPTR_TYPEDEF(Connections, __uuidof(Connections));
- _COM_SMARTPTR_TYPEDEF(Snapshot, __uuidof(Snapshot));
- _COM_SMARTPTR_TYPEDEF(Table, __uuidof(Table));
- _COM_SMARTPTR_TYPEDEF(Dynaset, __uuidof(Dynaset));
-
- //
- // Type library items
- //
-
- enum RecordsetTypeEnum
- {
- dbOpenTable = 1,
- dbOpenDynaset = 2,
- dbOpenSnapshot = 4,
- dbOpenForwardOnly = 8,
- dbOpenDynamic = 16
- };
-
- enum EditModeEnum
- {
- dbEditNone = 0,
- dbEditInProgress = 1,
- dbEditAdd = 2,
- dbEditChanged = 4,
- dbEditDeleted = 8,
- dbEditNew = 16
- };
-
- enum RecordsetOptionEnum
- {
- dbDenyWrite = 1,
- dbDenyRead = 2,
- dbReadOnly = 4,
- dbAppendOnly = 8,
- dbInconsistent = 16,
- dbConsistent = 32,
- dbSQLPassThrough = 64,
- dbFailOnError = 128,
- dbForwardOnly = 256,
- dbSeeChanges = 512,
- dbRunAsync = 1024,
- dbExecDirect = 2048
- };
-
- enum LockTypeEnum
- {
- dbPessimistic = 2,
- dbOptimistic = 3,
- dbOptimisticValue = 1,
- dbOptimisticBatch = 5
- };
-
- enum UpdateCriteriaEnum
- {
- dbCriteriaKey = 1,
- dbCriteriaModValues = 2,
- dbCriteriaAllCols = 4,
- dbCriteriaTimestamp = 8,
- dbCriteriaDeleteInsert = 16,
- dbCriteriaUpdate = 32
- };
-
- enum FieldAttributeEnum
- {
- dbFixedField = 1,
- dbVariableField = 2,
- dbAutoIncrField = 16,
- dbUpdatableField = 32,
- dbSystemField = 8192,
- dbHyperlinkField = 32768,
- dbDescending = 1
- };
-
- enum DataTypeEnum
- {
- dbBoolean = 1,
- dbByte = 2,
- dbInteger = 3,
- dbLong = 4,
- dbCurrency = 5,
- dbSingle = 6,
- dbDouble = 7,
- dbDate = 8,
- dbBinary = 9,
- dbText = 10,
- dbLongBinary = 11,
- dbMemo = 12,
- dbGUID = 15,
- dbBigInt = 16,
- dbVarBinary = 17,
- dbChar = 18,
- dbNumeric = 19,
- dbDecimal = 20,
- dbFloat = 21,
- dbTime = 22,
- dbTimeStamp = 23
- };
-
- enum RelationAttributeEnum
- {
- dbRelationUnique = 1,
- dbRelationDontEnforce = 2,
- dbRelationInherited = 4,
- dbRelationUpdateCascade = 256,
- dbRelationDeleteCascade = 4096,
- dbRelationLeft = 16777216,
- dbRelationRight = 33554432
- };
-
- enum TableDefAttributeEnum
- {
- dbAttachExclusive = 65536,
- dbAttachSavePWD = 131072,
- dbSystemObject = -2147483646,
- dbAttachedTable = 1073741824,
- dbAttachedODBC = 536870912,
- dbHiddenObject = 1
- };
-
- enum QueryDefTypeEnum
- {
- dbQSelect = 0,
- dbQProcedure = 224,
- dbQAction = 240,
- dbQCrosstab = 16,
- dbQDelete = 32,
- dbQUpdate = 48,
- dbQAppend = 64,
- dbQMakeTable = 80,
- dbQDDL = 96,
- dbQSQLPassThrough = 112,
- dbQSetOperation = 128,
- dbQSPTBulk = 144,
- dbQCompound = 160
- };
-
- enum QueryDefStateEnum
- {
- dbQPrepare = 1,
- dbQUnprepare = 2
- };
-
- enum DatabaseTypeEnum
- {
- dbVersion10 = 1,
- dbEncrypt = 2,
- dbDecrypt = 4,
- dbVersion11 = 8,
- dbVersion20 = 16,
- dbVersion30 = 32
- };
-
- enum CollatingOrderEnum
- {
- dbSortNeutral = 1024,
- dbSortArabic = 1025,
- dbSortCyrillic = 1049,
- dbSortCzech = 1029,
- dbSortDutch = 1043,
- dbSortGeneral = 1033,
- dbSortGreek = 1032,
- dbSortHebrew = 1037,
- dbSortHungarian = 1038,
- dbSortIcelandic = 1039,
- dbSortNorwdan = 1030,
- dbSortPDXIntl = 1033,
- dbSortPDXNor = 1030,
- dbSortPDXSwe = 1053,
- dbSortPolish = 1045,
- dbSortSpanish = 1034,
- dbSortSwedFin = 1053,
- dbSortTurkish = 1055,
- dbSortJapanese = 1041,
- dbSortChineseSimplified = 2052,
- dbSortChineseTraditional = 1028,
- dbSortKorean = 1042,
- dbSortThai = 1054,
- dbSortSlovenian = 1060,
- dbSortUndefined = -1
- };
-
- enum IdleEnum
- {
- dbFreeLocks = 1,
- dbRefreshCache = 8
- };
-
- enum PermissionEnum
- {
- dbSecNoAccess = 0,
- dbSecFullAccess = 1048575,
- dbSecDelete = 65536,
- dbSecReadSec = 131072,
- dbSecWriteSec = 262144,
- dbSecWriteOwner = 524288,
- dbSecDBCreate = 1,
- dbSecDBOpen = 2,
- dbSecDBExclusive = 4,
- dbSecDBAdmin = 8,
- dbSecCreate = 1,
- dbSecReadDef = 4,
- dbSecWriteDef = 65548,
- dbSecRetrieveData = 20,
- dbSecInsertData = 32,
- dbSecReplaceData = 64,
- dbSecDeleteData = 128
- };
-
- enum SynchronizeTypeEnum
- {
- dbRepExportChanges = 1,
- dbRepImportChanges = 2,
- dbRepImpExpChanges = 4,
- dbRepSyncInternet = 16
- };
-
- enum ReplicaTypeEnum
- {
- dbRepMakeReadOnly = 2,
- dbRepMakePartial = 1
- };
-
- enum WorkspaceTypeEnum
- {
- dbUseODBC = 1,
- dbUseJet = 2
- };
-
- enum CursorDriverEnum
- {
- dbUseDefaultCursor = -1,
- dbUseODBCCursor = 1,
- dbUseServerCursor = 2,
- dbUseClientBatchCursor = 3,
- dbUseNoCursor = 4
- };
-
- enum DriverPromptEnum
- {
- dbDriverPrompt = 2,
- dbDriverNoPrompt = 1,
- dbDriverComplete = 0,
- dbDriverCompleteRequired = 3
- };
-
- enum SetOptionEnum
- {
- dbPageTimeout = 6,
- dbLockRetry = 57,
- dbMaxBufferSize = 8,
- dbUserCommitSync = 58,
- dbImplicitCommitSync = 59,
- dbExclusiveAsyncDelay = 60,
- dbSharedAsyncDelay = 61,
- dbMaxLocksPerFile = 62,
- dbLockDelay = 63,
- dbRecycleLVs = 65,
- dbFlushTransactionTimeout = 66
- };
-
- enum ParameterDirectionEnum
- {
- dbParamInput = 1,
- dbParamOutput = 2,
- dbParamInputOutput = 3,
- dbParamReturnValue = 4
- };
-
- enum UpdateTypeEnum
- {
- dbUpdateBatch = 4,
- dbUpdateRegular = 1,
- dbUpdateCurrentRecord = 2
- };
-
- enum RecordStatusEnum
- {
- dbRecordUnmodified = 0,
- dbRecordModified = 1,
- dbRecordNew = 2,
- dbRecordDeleted = 3,
- dbRecordDBDeleted = 4
- };
-
- enum CommitTransOptionsEnum
- {
- dbForceOSFlush = 1
- };
-
- enum _DAOSuppHelp
- {
- LogMessages = 0,
- KeepLocal = 0,
- Replicable = 0,
- ReplicableBool = 0,
- V1xNullBehavior = 0
- };
-
- struct __declspec(uuid("000000a0-0000-0010-8000-00aa006d2ea4"))
- _Collection : IDispatch
- {
- //
- // Property data
- //
-
- __declspec(property(get=GetCount))
- short Count;
-
- //
- // Wrapper methods for error-handling
- //
-
- short GetCount ( );
- IUnknownPtr _NewEnum ( );
- HRESULT Refresh ( );
-
- //
- // Raw methods provided by interface
- //
-
- virtual HRESULT __stdcall get_Count (
- short * c ) = 0;
- virtual HRESULT __stdcall raw__NewEnum (
- IUnknown * * ppunk ) = 0;
- virtual HRESULT __stdcall raw_Refresh ( ) = 0;
- };
-
- struct __declspec(uuid("000000a2-0000-0010-8000-00aa006d2ea4"))
- _DynaCollection : _Collection
- {
- //
- // Wrapper methods for error-handling
- //
-
- HRESULT Append (
- IDispatch * Object );
- HRESULT Delete (
- _bstr_t Name );
-
- //
- // Raw methods provided by interface
- //
-
- virtual HRESULT __stdcall raw_Append (
- IDispatch * Object ) = 0;
- virtual HRESULT __stdcall raw_Delete (
- BSTR Name ) = 0;
- };
-
- struct __declspec(uuid("0000000a-0000-0010-8000-00aa006d2ea4"))
- _DAO : IDispatch
- {
- //
- // Property data
- //
-
- __declspec(property(get=GetProperties))
- PropertiesPtr Properties;
-
- //
- // Wrapper methods for error-handling
- //
-
- PropertiesPtr GetProperties ( );
-
- //
- // Raw methods provided by interface
- //
-
- virtual HRESULT __stdcall get_Properties (
- struct Properties * * ppprops ) = 0;
- };
-
- struct __declspec(uuid("00000021-0000-0010-8000-00aa006d2ea4"))
- _DBEngine : _DAO
- {
- //
- // Property data
- //
-
- __declspec(property(get=GetVersion))
- _bstr_t Version;
- __declspec(property(get=GetIniPath,put=PutIniPath))
- _bstr_t IniPath;
- __declspec(property(get=GetWorkspaces))
- WorkspacesPtr Workspaces;
- __declspec(property(put=PutDefaultUser))
- _bstr_t DefaultUser;
- __declspec(property(put=PutDefaultPassword))
- _bstr_t DefaultPassword;
- __declspec(property(get=GetLoginTimeout,put=PutLoginTimeout))
- short LoginTimeout;
- __declspec(property(get=GetErrors))
- ErrorsPtr Errors;
- __declspec(property(get=GetSystemDB,put=PutSystemDB))
- _bstr_t SystemDB;
- __declspec(property(get=GetDefaultType,put=PutDefaultType))
- long DefaultType;
-
- //
- // Wrapper methods for error-handling
- //
-
- _bstr_t GetVersion ( );
- _bstr_t GetIniPath ( );
- void PutIniPath (
- _bstr_t pbstr );
- void PutDefaultUser (
- _bstr_t _arg1 );
- void PutDefaultPassword (
- _bstr_t _arg1 );
- short GetLoginTimeout ( );
- void PutLoginTimeout (
- short ps );
- WorkspacesPtr GetWorkspaces ( );
- ErrorsPtr GetErrors ( );
- HRESULT Idle (
- const _variant_t & Action = vtMissing );
- HRESULT CompactDatabase (
- _bstr_t SrcName,
- _bstr_t DstName,
- const _variant_t & DstLocale = vtMissing,
- const _variant_t & Options = vtMissing,
- const _variant_t & SrcLocale = vtMissing );
- HRESULT RepairDatabase (
- _bstr_t Name );
- HRESULT RegisterDatabase (
- _bstr_t Dsn,
- _bstr_t Driver,
- VARIANT_BOOL Silent,
- _bstr_t Attributes );
- WorkspacePtr _30_CreateWorkspace (
- _bstr_t Name,
- _bstr_t UserName,
- _bstr_t Password );
- DatabasePtr OpenDatabase (
- _bstr_t Name,
- const _variant_t & Options = vtMissing,
- const _variant_t & ReadOnly = vtMissing,
- const _variant_t & Connect = vtMissing );
- DatabasePtr CreateDatabase (
- _bstr_t Name,
- _bstr_t Locale,
- const _variant_t & Option = vtMissing );
- HRESULT FreeLocks ( );
- HRESULT BeginTrans ( );
- HRESULT CommitTrans (
- long Option );
- HRESULT Rollback ( );
- HRESULT SetDefaultWorkspace (
- _bstr_t Name,
- _bstr_t Password );
- HRESULT SetDataAccessOption (
- short Option,
- const _variant_t & Value );
- long ISAMStats (
- long StatNum,
- const _variant_t & Reset = vtMissing );
- _bstr_t GetSystemDB ( );
- void PutSystemDB (
- _bstr_t pbstr );
- WorkspacePtr CreateWorkspace (
- _bstr_t Name,
- _bstr_t UserName,
- _bstr_t Password,
- const _variant_t & UseType = vtMissing );
- ConnectionPtr OpenConnection (
- _bstr_t Name,
- const _variant_t & Options = vtMissing,
- const _variant_t & ReadOnly = vtMissing,
- const _variant_t & Connect = vtMissing );
- long GetDefaultType ( );
- void PutDefaultType (
- long Option );
- HRESULT SetOption (
- long Option,
- const _variant_t & Value );
-
- //
- // Raw methods provided by interface
- //
-
- virtual HRESULT __stdcall get_Version (
- BSTR * pbstr ) = 0;
- virtual HRESULT __stdcall get_IniPath (
- BSTR * pbstr ) = 0;
- virtual HRESULT __stdcall put_IniPath (
- BSTR pbstr ) = 0;
- virtual HRESULT __stdcall put_DefaultUser (
- BSTR _arg1 ) = 0;
- virtual HRESULT __stdcall put_DefaultPassword (
- BSTR _arg1 ) = 0;
- virtual HRESULT __stdcall get_LoginTimeout (
- short * ps ) = 0;
- virtual HRESULT __stdcall put_LoginTimeout (
- short ps ) = 0;
- virtual HRESULT __stdcall get_Workspaces (
- struct Workspaces * * ppworks ) = 0;
- virtual HRESULT __stdcall get_Errors (
- struct Errors * * pperrs ) = 0;
- virtual HRESULT __stdcall raw_Idle (
- VARIANT Action = vtMissing ) = 0;
- virtual HRESULT __stdcall raw_CompactDatabase (
- BSTR SrcName,
- BSTR DstName,
- VARIANT DstLocale = vtMissing,
- VARIANT Options = vtMissing,
- VARIANT SrcLocale = vtMissing ) = 0;
- virtual HRESULT __stdcall raw_RepairDatabase (
- BSTR Name ) = 0;
- virtual HRESULT __stdcall raw_RegisterDatabase (
- BSTR Dsn,
- BSTR Driver,
- VARIANT_BOOL Silent,
- BSTR Attributes ) = 0;
- virtual HRESULT __stdcall raw__30_CreateWorkspace (
- BSTR Name,
- BSTR UserName,
- BSTR Password,
- struct Workspace * * ppwrk ) = 0;
- virtual HRESULT __stdcall raw_OpenDatabase (
- BSTR Name,
- VARIANT Options,
- VARIANT ReadOnly,
- VARIANT Connect,
- struct Database * * ppdb ) = 0;
- virtual HRESULT __stdcall raw_CreateDatabase (
- BSTR Name,
- BSTR Locale,
- VARIANT Option,
- struct Database * * ppdb ) = 0;
- virtual HRESULT __stdcall raw_FreeLocks ( ) = 0;
- virtual HRESULT __stdcall raw_BeginTrans ( ) = 0;
- virtual HRESULT __stdcall raw_CommitTrans (
- long Option ) = 0;
- virtual HRESULT __stdcall raw_Rollback ( ) = 0;
- virtual HRESULT __stdcall raw_SetDefaultWorkspace (
- BSTR Name,
- BSTR Password ) = 0;
- virtual HRESULT __stdcall raw_SetDataAccessOption (
- short Option,
- VARIANT Value ) = 0;
- virtual HRESULT __stdcall raw_ISAMStats (
- long StatNum,
- VARIANT Reset,
- long * pl ) = 0;
- virtual HRESULT __stdcall get_SystemDB (
- BSTR * pbstr ) = 0;
- virtual HRESULT __stdcall put_SystemDB (
- BSTR pbstr ) = 0;
- virtual HRESULT __stdcall raw_CreateWorkspace (
- BSTR Name,
- BSTR UserName,
- BSTR Password,
- VARIANT UseType,
- struct Workspace * * ppwrk ) = 0;
- virtual HRESULT __stdcall raw_OpenConnection (
- BSTR Name,
- VARIANT Options,
- VARIANT ReadOnly,
- VARIANT Connect,
- struct Connection * * ppconn ) = 0;
- virtual HRESULT __stdcall get_DefaultType (
- long * Option ) = 0;
- virtual HRESULT __stdcall put_DefaultType (
- long Option ) = 0;
- virtual HRESULT __stdcall raw_SetOption (
- long Option,
- VARIANT Value ) = 0;
- };
-
- struct __declspec(uuid("00000010-0000-0010-8000-00aa006d2ea4"))
- DBEngine;
- // [ default ] interface _DBEngine
-
- struct __declspec(uuid("00000011-0000-0010-8000-00aa006d2ea4"))
- PrivDBEngine;
- // [ default ] interface _DBEngine
-
- struct __declspec(uuid("00000023-0000-0010-8000-00aa006d2ea4"))
- Error : IDispatch
- {
- //
- // Property data
- //
-
- __declspec(property(get=GetNumber))
- long Number;
- __declspec(property(get=GetSource))
- _bstr_t Source;
- __declspec(property(get=GetDescription))
- _bstr_t Description;
- __declspec(property(get=GetHelpFile))
- _bstr_t HelpFile;
- __declspec(property(get=GetHelpContext))
- long HelpContext;
-
- //
- // Wrapper methods for error-handling
- //
-
- long GetNumber ( );
- _bstr_t GetSource ( );
- _bstr_t GetDescription ( );
- _bstr_t GetHelpFile ( );
- long GetHelpContext ( );
-
- //
- // Raw methods provided by interface
- //
-
- virtual HRESULT __stdcall get_Number (
- long * pl ) = 0;
- virtual HRESULT __stdcall get_Source (
- BSTR * pbstr ) = 0;
- virtual HRESULT __stdcall get_Description (
- BSTR * pbstr ) = 0;
- virtual HRESULT __stdcall get_HelpFile (
- BSTR * pbstr ) = 0;
- virtual HRESULT __stdcall get_HelpContext (
- long * pl ) = 0;
- };
-
- struct __declspec(uuid("00000025-0000-0010-8000-00aa006d2ea4"))
- Errors : _Collection
- {
- //
- // Property data
- //
-
- __declspec(property(get=GetItem))
- ErrorPtr Item[];
-
- //
- // Wrapper methods for error-handling
- //
-
- ErrorPtr GetItem (
- const _variant_t & Index );
-
- //
- // Raw methods provided by interface
- //
-
- virtual HRESULT __stdcall get_Item (
- VARIANT Index,
- struct Error * * pperr ) = 0;
- };
-
- struct __declspec(uuid("00000039-0000-0010-8000-00aa006d2ea4"))
- Workspace : _DAO
- {
- //
- // Property data
- //
-
- __declspec(property(get=GetName,put=PutName))
- _bstr_t Name;
- __declspec(property(get=GetDatabases))
- DatabasesPtr Databases;
- __declspec(property(get=GetUserName))
- _bstr_t UserName;
- __declspec(property(put=Put_30_UserName))
- _bstr_t _30_UserName;
- __declspec(property(put=Put_30_Password))
- _bstr_t _30_Password;
- __declspec(property(get=GetIsolateODBCTrans,put=PutIsolateODBCTrans))
- short IsolateODBCTrans;
- __declspec(property(get=GetUsers))
- UsersPtr Users;
- __declspec(property(get=GetGroups))
- GroupsPtr Groups;
- __declspec(property(get=GetLoginTimeout,put=PutLoginTimeout))
- long LoginTimeout;
- __declspec(property(get=GetDefaultCursorDriver,put=PutDefaultCursorDriver))
- long DefaultCursorDriver;
- __declspec(property(get=GethEnv))
- long hEnv;
- __declspec(property(get=GetType))
- long Type;
- __declspec(property(get=GetConnections))
- ConnectionsPtr Connections;
-
- //
- // Wrapper methods for error-handling
- //
-
- _bstr_t GetName ( );
- void PutName (
- _bstr_t pbstr );
- _bstr_t GetUserName ( );
- void Put_30_UserName (
- _bstr_t _arg1 );
- void Put_30_Password (
- _bstr_t _arg1 );
- short GetIsolateODBCTrans ( );
- void PutIsolateODBCTrans (
- short ps );
- DatabasesPtr GetDatabases ( );
- UsersPtr GetUsers ( );
- GroupsPtr GetGroups ( );
- HRESULT BeginTrans ( );
- HRESULT CommitTrans (
- long Options );
- HRESULT Close ( );
- HRESULT Rollback ( );
- DatabasePtr OpenDatabase (
- _bstr_t Name,
- const _variant_t & Options = vtMissing,
- const _variant_t & ReadOnly = vtMissing,
- const _variant_t & Connect = vtMissing );
- DatabasePtr CreateDatabase (
- _bstr_t Name,
- _bstr_t Connect,
- const _variant_t & Option = vtMissing );
- _UserPtr CreateUser (
- const _variant_t & Name = vtMissing,
- const _variant_t & PID = vtMissing,
- const _variant_t & Password = vtMissing );
- _GroupPtr CreateGroup (
- const _variant_t & Name = vtMissing,
- const _variant_t & PID = vtMissing );
- ConnectionPtr OpenConnection (
- _bstr_t Name,
- const _variant_t & Options = vtMissing,
- const _variant_t & ReadOnly = vtMissing,
- const _variant_t & Connect = vtMissing );
- long GetLoginTimeout ( );
- void PutLoginTimeout (
- long pTimeout );
- long GetDefaultCursorDriver ( );
- void PutDefaultCursorDriver (
- long pCursorType );
- long GethEnv ( );
- long GetType ( );
- ConnectionsPtr GetConnections ( );
-
- //
- // Raw methods provided by interface
- //
-
- virtual HRESULT __stdcall get_Name (
- BSTR * pbstr ) = 0;
- virtual HRESULT __stdcall put_Name (
- BSTR pbstr ) = 0;
- virtual HRESULT __stdcall get_UserName (
- BSTR * pbstr ) = 0;
- virtual HRESULT __stdcall put__30_UserName (
- BSTR _arg1 ) = 0;
- virtual HRESULT __stdcall put__30_Password (
- BSTR _arg1 ) = 0;
- virtual HRESULT __stdcall get_IsolateODBCTrans (
- short * ps ) = 0;
- virtual HRESULT __stdcall put_IsolateODBCTrans (
- short ps ) = 0;
- virtual HRESULT __stdcall get_Databases (
- struct Databases * * ppdbs ) = 0;
- virtual HRESULT __stdcall get_Users (
- struct Users * * ppusrs ) = 0;
- virtual HRESULT __stdcall get_Groups (
- struct Groups * * ppgrps ) = 0;
- virtual HRESULT __stdcall raw_BeginTrans ( ) = 0;
- virtual HRESULT __stdcall raw_CommitTrans (
- long Options ) = 0;
- virtual HRESULT __stdcall raw_Close ( ) = 0;
- virtual HRESULT __stdcall raw_Rollback ( ) = 0;
- virtual HRESULT __stdcall raw_OpenDatabase (
- BSTR Name,
- VARIANT Options,
- VARIANT ReadOnly,
- VARIANT Connect,
- struct Database * * ppdb ) = 0;
- virtual HRESULT __stdcall raw_CreateDatabase (
- BSTR Name,
- BSTR Connect,
- VARIANT Option,
- struct Database * * ppdb ) = 0;
- virtual HRESULT __stdcall raw_CreateUser (
- VARIANT Name,
- VARIANT PID,
- VARIANT Password,
- struct _User * * ppusr ) = 0;
- virtual HRESULT __stdcall raw_CreateGroup (
- VARIANT Name,
- VARIANT PID,
- struct _Group * * ppgrp ) = 0;
- virtual HRESULT __stdcall raw_OpenConnection (
- BSTR Name,
- VARIANT Options,
- VARIANT ReadOnly,
- VARIANT Connect,
- struct Connection * * ppconn ) = 0;
- virtual HRESULT __stdcall get_LoginTimeout (
- long * pTimeout ) = 0;
- virtual HRESULT __stdcall put_LoginTimeout (
- long pTimeout ) = 0;
- virtual HRESULT __stdcall get_DefaultCursorDriver (
- long * pCursorType ) = 0;
- virtual HRESULT __stdcall put_DefaultCursorDriver (
- long pCursorType ) = 0;
- virtual HRESULT __stdcall get_hEnv (
- long * phEnv ) = 0;
- virtual HRESULT __stdcall get_Type (
- long * ptype ) = 0;
- virtual HRESULT __stdcall get_Connections (
- struct Connections * * ppcns ) = 0;
- };
-
- struct __declspec(uuid("0000003b-0000-0010-8000-00aa006d2ea4"))
- Workspaces : _DynaCollection
- {
- //
- // Property data
- //
-
- __declspec(property(get=GetItem))
- WorkspacePtr Item[];
-
- //
- // Wrapper methods for error-handling
- //
-
- WorkspacePtr GetItem (
- const _variant_t & Index );
-
- //
- // Raw methods provided by interface
- //
-
- virtual HRESULT __stdcall get_Item (
- VARIANT Index,
- struct Workspace * * ppwrk ) = 0;
- };
-
- struct __declspec(uuid("00000049-0000-0010-8000-00aa006d2ea4"))
- _TableDef : _DAO
- {
- //
- // Property data
- //
-
- __declspec(property(get=GetAttributes,put=PutAttributes))
- long Attributes;
- __declspec(property(get=GetFields))
- FieldsPtr Fields;
- __declspec(property(get=GetConnect,put=PutConnect))
- _bstr_t Connect;
- __declspec(property(get=GetDateCreated))
- _variant_t DateCreated;
- __declspec(property(get=GetLastUpdated))
- _variant_t LastUpdated;
- __declspec(property(get=GetName,put=PutName))
- _bstr_t Name;
- __declspec(property(get=GetSourceTableName,put=PutSourceTableName))
- _bstr_t SourceTableName;
- __declspec(property(get=GetUpdatable))
- VARIANT_BOOL Updatable;
- __declspec(property(get=GetValidationText,put=PutValidationText))
- _bstr_t ValidationText;
- __declspec(property(get=GetValidationRule,put=PutValidationRule))
- _bstr_t ValidationRule;
- __declspec(property(get=GetRecordCount))
- long RecordCount;
- __declspec(property(get=GetIndexes))
- IndexesPtr Indexes;
- __declspec(property(get=GetConflictTable))
- _bstr_t ConflictTable;
- __declspec(property(get=GetReplicaFilter,put=PutReplicaFilter))
- _variant_t ReplicaFilter;
-
- //
- // Wrapper methods for error-handling
- //
-
- long GetAttributes ( );
- void PutAttributes (
- long pl );
- _bstr_t GetConnect ( );
- void PutConnect (
- _bstr_t pbstr );
- _variant_t GetDateCreated ( );
- _variant_t GetLastUpdated ( );
- _bstr_t GetName ( );
- void PutName (
- _bstr_t pbstr );
- _bstr_t GetSourceTableName ( );
- void PutSourceTableName (
- _bstr_t pbstr );
- VARIANT_BOOL GetUpdatable ( );
- _bstr_t GetValidationText ( );
- void PutValidationText (
- _bstr_t pbstr );
- _bstr_t GetValidationRule ( );
- void PutValidationRule (
- _bstr_t pbstr );
- long GetRecordCount ( );
- FieldsPtr GetFields ( );
- IndexesPtr GetIndexes ( );
- RecordsetPtr OpenRecordset (
- const _variant_t & Type = vtMissing,
- const _variant_t & Options = vtMissing );
- HRESULT RefreshLink ( );
- _FieldPtr CreateField (
- const _variant_t & Name = vtMissing,
- const _variant_t & Type = vtMissing,
- const _variant_t & Size = vtMissing );
- _IndexPtr CreateIndex (
- const _variant_t & Name = vtMissing );
- PropertyPtr CreateProperty (
- const _variant_t & Name = vtMissing,
- const _variant_t & Type = vtMissing,
- const _variant_t & Value = vtMissing,
- const _variant_t & DDL = vtMissing );
- _bstr_t GetConflictTable ( );
- _variant_t GetReplicaFilter ( );
- void PutReplicaFilter (
- const _variant_t & pFilter );
-
- //
- // Raw methods provided by interface
- //
-
- virtual HRESULT __stdcall get_Attributes (
- long * pl ) = 0;
- virtual HRESULT __stdcall put_Attributes (
- long pl ) = 0;
- virtual HRESULT __stdcall get_Connect (
- BSTR * pbstr ) = 0;
- virtual HRESULT __stdcall put_Connect (
- BSTR pbstr ) = 0;
- virtual HRESULT __stdcall get_DateCreated (
- VARIANT * pvar ) = 0;
- virtual HRESULT __stdcall get_LastUpdated (
- VARIANT * pvar ) = 0;
- virtual HRESULT __stdcall get_Name (
- BSTR * pbstr ) = 0;
- virtual HRESULT __stdcall put_Name (
- BSTR pbstr ) = 0;
- virtual HRESULT __stdcall get_SourceTableName (
- BSTR * pbstr ) = 0;
- virtual HRESULT __stdcall put_SourceTableName (
- BSTR pbstr ) = 0;
- virtual HRESULT __stdcall get_Updatable (
- VARIANT_BOOL * pb ) = 0;
- virtual HRESULT __stdcall get_ValidationText (
- BSTR * pbstr ) = 0;
- virtual HRESULT __stdcall put_ValidationText (
- BSTR pbstr ) = 0;
- virtual HRESULT __stdcall get_ValidationRule (
- BSTR * pbstr ) = 0;
- virtual HRESULT __stdcall put_ValidationRule (
- BSTR pbstr ) = 0;
- virtual HRESULT __stdcall get_RecordCount (
- long * pl ) = 0;
- virtual HRESULT __stdcall get_Fields (
- struct Fields * * ppflds ) = 0;
- virtual HRESULT __stdcall get_Indexes (
- struct Indexes * * ppidxs ) = 0;
- virtual HRESULT __stdcall raw_OpenRecordset (
- VARIANT Type,
- VARIANT Options,
- struct Recordset * * pprst ) = 0;
- virtual HRESULT __stdcall raw_RefreshLink ( ) = 0;
- virtual HRESULT __stdcall raw_CreateField (
- VARIANT Name,
- VARIANT Type,
- VARIANT Size,
- struct _Field * * ppfld ) = 0;
- virtual HRESULT __stdcall raw_CreateIndex (
- VARIANT Name,
- struct _Index * * ppidx ) = 0;
- virtual HRESULT __stdcall raw_CreateProperty (
- VARIANT Name,
- VARIANT Type,
- VARIANT Value,
- VARIANT DDL,
- struct Property * * pprp ) = 0;
- virtual HRESULT __stdcall get_ConflictTable (
- BSTR * pbstr ) = 0;
- virtual HRESULT __stdcall get_ReplicaFilter (
- VARIANT * pFilter ) = 0;
- virtual HRESULT __stdcall put_ReplicaFilter (
- VARIANT pFilter ) = 0;
- };
-
- struct __declspec(uuid("0000004b-0000-0010-8000-00aa006d2ea4"))
- TableDefs : _DynaCollection
- {
- //
- // Property data
- //
-
- __declspec(property(get=GetItem))
- _TableDefPtr Item[];
-
- //
- // Wrapper methods for error-handling
- //
-
- _TableDefPtr GetItem (
- const _variant_t & Index );
-
- //
- // Raw methods provided by interface
- //
-
- virtual HRESULT __stdcall get_Item (
- VARIANT Index,
- struct _TableDef * * pptdf ) = 0;
- };
-
- struct __declspec(uuid("00000013-0000-0010-8000-00aa006d2ea4"))
- TableDef;
- // [ default ] interface _TableDef
-
- struct __declspec(uuid("00000071-0000-0010-8000-00aa006d2ea4"))
- Database : _DAO
- {
- //
- // Property data
- //
-
- __declspec(property(get=GetCollatingOrder))
- long CollatingOrder;
- __declspec(property(get=GetConnect,put=PutConnect))
- _bstr_t Connect;
- __declspec(property(get=GetName))
- _bstr_t Name;
- __declspec(property(get=GetQueryTimeout,put=PutQueryTimeout))
- short QueryTimeout;
- __declspec(property(get=GetTableDefs))
- TableDefsPtr TableDefs;
- __declspec(property(get=GetTransactions))
- VARIANT_BOOL Transactions;
- __declspec(property(get=GetUpdatable))
- VARIANT_BOOL Updatable;
- __declspec(property(get=GetVersion))
- _bstr_t Version;
- __declspec(property(get=GetRecordsAffected))
- long RecordsAffected;
- __declspec(property(get=GetReplicaID))
- _bstr_t ReplicaID;
- __declspec(property(get=GetQueryDefs))
- QueryDefsPtr QueryDefs;
- __declspec(property(get=GetRelations))
- RelationsPtr Relations;
- __declspec(property(get=GetContainers))
- ContainersPtr Containers;
- __declspec(property(get=GetRecordsets))
- RecordsetsPtr Recordsets;
- __declspec(property(get=GetDesignMasterID,put=PutDesignMasterID))
- _bstr_t DesignMasterID;
- __declspec(property(get=GetConnection))
- ConnectionPtr Connection;
-
- //
- // Wrapper methods for error-handling
- //
-
- long GetCollatingOrder ( );
- _bstr_t GetConnect ( );
- _bstr_t GetName ( );
- short GetQueryTimeout ( );
- void PutQueryTimeout (
- short ps );
- VARIANT_BOOL GetTransactions ( );
- VARIANT_BOOL GetUpdatable ( );
- _bstr_t GetVersion ( );
- long GetRecordsAffected ( );
- TableDefsPtr GetTableDefs ( );
- QueryDefsPtr GetQueryDefs ( );
- RelationsPtr GetRelations ( );
- ContainersPtr GetContainers ( );
- RecordsetsPtr GetRecordsets ( );
- HRESULT Close ( );
- HRESULT Execute (
- _bstr_t Query,
- const _variant_t & Options = vtMissing );
- RecordsetPtr _30_OpenRecordset (
- _bstr_t Name,
- const _variant_t & Type = vtMissing,
- const _variant_t & Options = vtMissing );
- PropertyPtr CreateProperty (
- const _variant_t & Name = vtMissing,
- const _variant_t & Type = vtMissing,
- const _variant_t & Value = vtMissing,
- const _variant_t & DDL = vtMissing );
- _RelationPtr CreateRelation (
- const _variant_t & Name = vtMissing,
- const _variant_t & Table = vtMissing,
- const _variant_t & ForeignTable = vtMissing,
- const _variant_t & Attributes = vtMissing );
- _TableDefPtr CreateTableDef (
- const _variant_t & Name = vtMissing,
- const _variant_t & Attributes = vtMissing,
- const _variant_t & SourceTableName = vtMissing,
- const _variant_t & Connect = vtMissing );
- HRESULT BeginTrans ( );
- HRESULT CommitTrans (
- long Options );
- HRESULT Rollback ( );
- RecordsetPtr CreateDynaset (
- _bstr_t Name,
- const _variant_t & Options = vtMissing,
- const _variant_t & Inconsistent = vtMissing );
- _QueryDefPtr CreateQueryDef (
- const _variant_t & Name = vtMissing,
- const _variant_t & SQLText = vtMissing );
- RecordsetPtr CreateSnapshot (
- _bstr_t Source,
- const _variant_t & Options = vtMissing );
- HRESULT DeleteQueryDef (
- _bstr_t Name );
- long ExecuteSQL (
- _bstr_t SQL );
- RecordsetPtr ListFields (
- _bstr_t Name );
- RecordsetPtr ListTables ( );
- _QueryDefPtr OpenQueryDef (
- _bstr_t Name );
- RecordsetPtr OpenTable (
- _bstr_t Name,
- const _variant_t & Options = vtMissing );
- _bstr_t GetReplicaID ( );
- _bstr_t GetDesignMasterID ( );
- void PutDesignMasterID (
- _bstr_t pbstr );
- HRESULT Synchronize (
- _bstr_t DbPathName,
- const _variant_t & ExchangeType = vtMissing );
- HRESULT MakeReplica (
- _bstr_t PathName,
- _bstr_t Description,
- const _variant_t & Options = vtMissing );
- void PutConnect (
- _bstr_t pbstr );
- HRESULT NewPassword (
- _bstr_t bstrOld,
- _bstr_t bstrNew );
- RecordsetPtr OpenRecordset (
- _bstr_t Name,
- const _variant_t & Type = vtMissing,
- const _variant_t & Options = vtMissing,
- const _variant_t & LockEdit = vtMissing );
- ConnectionPtr GetConnection ( );
- HRESULT PopulatePartial (
- _bstr_t DbPathName );
-
- //
- // Raw methods provided by interface
- //
-
- virtual HRESULT __stdcall get_CollatingOrder (
- long * pl ) = 0;
- virtual HRESULT __stdcall get_Connect (
- BSTR * pbstr ) = 0;
- virtual HRESULT __stdcall get_Name (
- BSTR * pbstr ) = 0;
- virtual HRESULT __stdcall get_QueryTimeout (
- short * ps ) = 0;
- virtual HRESULT __stdcall put_QueryTimeout (
- short ps ) = 0;
- virtual HRESULT __stdcall get_Transactions (
- VARIANT_BOOL * pb ) = 0;
- virtual HRESULT __stdcall get_Updatable (
- VARIANT_BOOL * pb ) = 0;
- virtual HRESULT __stdcall get_Version (
- BSTR * pbstr ) = 0;
- virtual HRESULT __stdcall get_RecordsAffected (
- long * pl ) = 0;
- virtual HRESULT __stdcall get_TableDefs (
- struct TableDefs * * pptdfs ) = 0;
- virtual HRESULT __stdcall get_QueryDefs (
- struct QueryDefs * * ppqdfs ) = 0;
- virtual HRESULT __stdcall get_Relations (
- struct Relations * * pprls ) = 0;
- virtual HRESULT __stdcall get_Containers (
- struct Containers * * ppctns ) = 0;
- virtual HRESULT __stdcall get_Recordsets (
- struct Recordsets * * pprsts ) = 0;
- virtual HRESULT __stdcall raw_Close ( ) = 0;
- virtual HRESULT __stdcall raw_Execute (
- BSTR Query,
- VARIANT Options = vtMissing ) = 0;
- virtual HRESULT __stdcall raw__30_OpenRecordset (
- BSTR Name,
- VARIANT Type,
- VARIANT Options,
- struct Recordset * * pprst ) = 0;
- virtual HRESULT __stdcall raw_CreateProperty (
- VARIANT Name,
- VARIANT Type,
- VARIANT Value,
- VARIANT DDL,
- struct Property * * pprp ) = 0;
- virtual HRESULT __stdcall raw_CreateRelation (
- VARIANT Name,
- VARIANT Table,
- VARIANT ForeignTable,
- VARIANT Attributes,
- struct _Relation * * pprel ) = 0;
- virtual HRESULT __stdcall raw_CreateTableDef (
- VARIANT Name,
- VARIANT Attributes,
- VARIANT SourceTableName,
- VARIANT Connect,
- struct _TableDef * * pptdf ) = 0;
- virtual HRESULT __stdcall raw_BeginTrans ( ) = 0;
- virtual HRESULT __stdcall raw_CommitTrans (
- long Options ) = 0;
- virtual HRESULT __stdcall raw_Rollback ( ) = 0;
- virtual HRESULT __stdcall raw_CreateDynaset (
- BSTR Name,
- VARIANT Options,
- VARIANT Inconsistent,
- struct Recordset * * pprst ) = 0;
- virtual HRESULT __stdcall raw_CreateQueryDef (
- VARIANT Name,
- VARIANT SQLText,
- struct _QueryDef * * ppqdf ) = 0;
- virtual HRESULT __stdcall raw_CreateSnapshot (
- BSTR Source,
- VARIANT Options,
- struct Recordset * * pprst ) = 0;
- virtual HRESULT __stdcall raw_DeleteQueryDef (
- BSTR Name ) = 0;
- virtual HRESULT __stdcall raw_ExecuteSQL (
- BSTR SQL,
- long * pl ) = 0;
- virtual HRESULT __stdcall raw_ListFields (
- BSTR Name,
- struct Recordset * * pprst ) = 0;
- virtual HRESULT __stdcall raw_ListTables (
- struct Recordset * * pprst ) = 0;
- virtual HRESULT __stdcall raw_OpenQueryDef (
- BSTR Name,
- struct _QueryDef * * ppqdf ) = 0;
- virtual HRESULT __stdcall raw_OpenTable (
- BSTR Name,
- VARIANT Options,
- struct Recordset * * pprst ) = 0;
- virtual HRESULT __stdcall get_ReplicaID (
- BSTR * pbstr ) = 0;
- virtual HRESULT __stdcall get_DesignMasterID (
- BSTR * pbstr ) = 0;
- virtual HRESULT __stdcall put_DesignMasterID (
- BSTR pbstr ) = 0;
- virtual HRESULT __stdcall raw_Synchronize (
- BSTR DbPathName,
- VARIANT ExchangeType = vtMissing ) = 0;
- virtual HRESULT __stdcall raw_MakeReplica (
- BSTR PathName,
- BSTR Description,
- VARIANT Options = vtMissing ) = 0;
- virtual HRESULT __stdcall put_Connect (
- BSTR pbstr ) = 0;
- virtual HRESULT __stdcall raw_NewPassword (
- BSTR bstrOld,
- BSTR bstrNew ) = 0;
- virtual HRESULT __stdcall raw_OpenRecordset (
- BSTR Name,
- VARIANT Type,
- VARIANT Options,
- VARIANT LockEdit,
- struct Recordset * * pprst ) = 0;
- virtual HRESULT __stdcall get_Connection (
- struct Connection * * ppCn ) = 0;
- virtual HRESULT __stdcall raw_PopulatePartial (
- BSTR DbPathName ) = 0;
- };
-
- struct __declspec(uuid("00000073-0000-0010-8000-00aa006d2ea4"))
- Databases : _Collection
- {
- //
- // Property data
- //
-
- __declspec(property(get=GetItem))
- DatabasePtr Item[];
-
- //
- // Wrapper methods for error-handling
- //
-
- DatabasePtr GetItem (
- const _variant_t & Index );
-
- //
- // Raw methods provided by interface
- //
-
- virtual HRESULT __stdcall get_Item (
- VARIANT Index,
- struct Database * * ppdb ) = 0;
- };
-
- struct __declspec(uuid("00000079-0000-0010-8000-00aa006d2ea4"))
- _QueryDef : _DAO
- {
- //
- // Property data
- //
-
- __declspec(property(get=GetDateCreated))
- _variant_t DateCreated;
- __declspec(property(get=GetLastUpdated))
- _variant_t LastUpdated;
- __declspec(property(get=GetName,put=PutName))
- _bstr_t Name;
- __declspec(property(get=GetParameters))
- ParametersPtr Parameters;
- __declspec(property(get=GetODBCTimeout,put=PutODBCTimeout))
- short ODBCTimeout;
- __declspec(property(get=GetStillExecuting))
- VARIANT_BOOL StillExecuting;
- __declspec(property(get=GetType))
- short Type;
- __declspec(property(get=GetSQL,put=PutSQL))
- _bstr_t SQL;
- __declspec(property(get=GetCacheSize,put=PutCacheSize))
- long CacheSize;
- __declspec(property(get=GetUpdatable))
- VARIANT_BOOL Updatable;
- __declspec(property(get=GetConnect,put=PutConnect))
- _bstr_t Connect;
- __declspec(property(get=GetPrepare,put=PutPrepare))
- _variant_t Prepare;
- __declspec(property(get=GetReturnsRecords,put=PutReturnsRecords))
- VARIANT_BOOL ReturnsRecords;
- __declspec(property(get=GetRecordsAffected))
- long RecordsAffected;
- __declspec(property(get=GetFields))
- FieldsPtr Fields;
- __declspec(property(get=GethStmt))
- long hStmt;
- __declspec(property(get=GetMaxRecords,put=PutMaxRecords))
- long MaxRecords;
-
- //
- // Wrapper methods for error-handling
- //
-
- _variant_t GetDateCreated ( );
- _variant_t GetLastUpdated ( );
- _bstr_t GetName ( );
- void PutName (
- _bstr_t pbstr );
- short GetODBCTimeout ( );
- void PutODBCTimeout (
- short ps );
- short GetType ( );
- _bstr_t GetSQL ( );
- void PutSQL (
- _bstr_t pbstr );
- VARIANT_BOOL GetUpdatable ( );
- _bstr_t GetConnect ( );
- void PutConnect (
- _bstr_t pbstr );
- VARIANT_BOOL GetReturnsRecords ( );
- void PutReturnsRecords (
- VARIANT_BOOL pb );
- long GetRecordsAffected ( );
- FieldsPtr GetFields ( );
- ParametersPtr GetParameters ( );
- HRESULT Close ( );
- RecordsetPtr _30_OpenRecordset (
- const _variant_t & Type = vtMissing,
- const _variant_t & Options = vtMissing );
- RecordsetPtr _30__OpenRecordset (
- const _variant_t & Type = vtMissing,
- const _variant_t & Options = vtMissing );
- _QueryDefPtr _Copy ( );
- HRESULT Execute (
- const _variant_t & Options = vtMissing );
- HRESULT Compare (
- struct _QueryDef * pQdef,
- short * lps );
- RecordsetPtr CreateDynaset (
- const _variant_t & Options = vtMissing,
- const _variant_t & Inconsistent = vtMissing );
- RecordsetPtr CreateSnapshot (
- const _variant_t & Options = vtMissing );
- RecordsetPtr ListParameters ( );
- PropertyPtr CreateProperty (
- const _variant_t & Name = vtMissing,
- const _variant_t & Type = vtMissing,
- const _variant_t & Value = vtMissing,
- const _variant_t & DDL = vtMissing );
- RecordsetPtr OpenRecordset (
- const _variant_t & Type = vtMissing,
- const _variant_t & Options = vtMissing,
- const _variant_t & LockEdit = vtMissing );
- RecordsetPtr _OpenRecordset (
- const _variant_t & Type = vtMissing,
- const _variant_t & Options = vtMissing,
- const _variant_t & LockEdit = vtMissing );
- HRESULT Cancel ( );
- long GethStmt ( );
- long GetMaxRecords ( );
- void PutMaxRecords (
- long pMxRecs );
- VARIANT_BOOL GetStillExecuting ( );
- long GetCacheSize ( );
- void PutCacheSize (
- long lCacheSize );
- _variant_t GetPrepare ( );
- void PutPrepare (
- const _variant_t & pb );
-
- //
- // Raw methods provided by interface
- //
-
- virtual HRESULT __stdcall get_DateCreated (
- VARIANT * pvar ) = 0;
- virtual HRESULT __stdcall get_LastUpdated (
- VARIANT * pvar ) = 0;
- virtual HRESULT __stdcall get_Name (
- BSTR * pbstr ) = 0;
- virtual HRESULT __stdcall put_Name (
- BSTR pbstr ) = 0;
- virtual HRESULT __stdcall get_ODBCTimeout (
- short * ps ) = 0;
- virtual HRESULT __stdcall put_ODBCTimeout (
- short ps ) = 0;
- virtual HRESULT __stdcall get_Type (
- short * pi ) = 0;
- virtual HRESULT __stdcall get_SQL (
- BSTR * pbstr ) = 0;
- virtual HRESULT __stdcall put_SQL (
- BSTR pbstr ) = 0;
- virtual HRESULT __stdcall get_Updatable (
- VARIANT_BOOL * pb ) = 0;
- virtual HRESULT __stdcall get_Connect (
- BSTR * pbstr ) = 0;
- virtual HRESULT __stdcall put_Connect (
- BSTR pbstr ) = 0;
- virtual HRESULT __stdcall get_ReturnsRecords (
- VARIANT_BOOL * pb ) = 0;
- virtual HRESULT __stdcall put_ReturnsRecords (
- VARIANT_BOOL pb ) = 0;
- virtual HRESULT __stdcall get_RecordsAffected (
- long * pl ) = 0;
- virtual HRESULT __stdcall get_Fields (
- struct Fields * * ppflds ) = 0;
- virtual HRESULT __stdcall get_Parameters (
- struct Parameters * * ppprms ) = 0;
- virtual HRESULT __stdcall raw_Close ( ) = 0;
- virtual HRESULT __stdcall raw__30_OpenRecordset (
- VARIANT Type,
- VARIANT Options,
- struct Recordset * * pprst ) = 0;
- virtual HRESULT __stdcall raw__30__OpenRecordset (
- VARIANT Type,
- VARIANT Options,
- struct Recordset * * pprst ) = 0;
- virtual HRESULT __stdcall raw__Copy (
- struct _QueryDef * * ppqdf ) = 0;
- virtual HRESULT __stdcall raw_Execute (
- VARIANT Options = vtMissing ) = 0;
- virtual HRESULT __stdcall raw_Compare (
- struct _QueryDef * pQdef,
- short * lps ) = 0;
- virtual HRESULT __stdcall raw_CreateDynaset (
- VARIANT Options,
- VARIANT Inconsistent,
- struct Recordset * * pprst ) = 0;
- virtual HRESULT __stdcall raw_CreateSnapshot (
- VARIANT Options,
- struct Recordset * * pprst ) = 0;
- virtual HRESULT __stdcall raw_ListParameters (
- struct Recordset * * pprst ) = 0;
- virtual HRESULT __stdcall raw_CreateProperty (
- VARIANT Name,
- VARIANT Type,
- VARIANT Value,
- VARIANT DDL,
- struct Property * * pprp ) = 0;
- virtual HRESULT __stdcall raw_OpenRecordset (
- VARIANT Type,
- VARIANT Options,
- VARIANT LockEdit,
- struct Recordset * * pprst ) = 0;
- virtual HRESULT __stdcall raw__OpenRecordset (
- VARIANT Type,
- VARIANT Options,
- VARIANT LockEdit,
- struct Recordset * * pprst ) = 0;
- virtual HRESULT __stdcall raw_Cancel ( ) = 0;
- virtual HRESULT __stdcall get_hStmt (
- long * phStmt ) = 0;
- virtual HRESULT __stdcall get_MaxRecords (
- long * pMxRecs ) = 0;
- virtual HRESULT __stdcall put_MaxRecords (
- long pMxRecs ) = 0;
- virtual HRESULT __stdcall get_StillExecuting (
- VARIANT_BOOL * pStillExec ) = 0;
- virtual HRESULT __stdcall get_CacheSize (
- long * lCacheSize ) = 0;
- virtual HRESULT __stdcall put_CacheSize (
- long lCacheSize ) = 0;
- virtual HRESULT __stdcall get_Prepare (
- VARIANT * pb ) = 0;
- virtual HRESULT __stdcall put_Prepare (
- VARIANT pb ) = 0;
- };
-
- struct __declspec(uuid("0000007b-0000-0010-8000-00aa006d2ea4"))
- QueryDefs : _DynaCollection
- {
- //
- // Property data
- //
-
- __declspec(property(get=GetItem))
- _QueryDefPtr Item[];
-
- //
- // Wrapper methods for error-handling
- //
-
- _QueryDefPtr GetItem (
- const _variant_t & Index );
-
- //
- // Raw methods provided by interface
- //
-
- virtual HRESULT __stdcall get_Item (
- VARIANT Index,
- struct _QueryDef * * ppqdef ) = 0;
- };
-
- struct __declspec(uuid("00000018-0000-0010-8000-00aa006d2ea4"))
- QueryDef;
- // [ default ] interface _QueryDef
-
- struct __declspec(uuid("00000031-0000-0010-8000-00aa006d2ea4"))
- Recordset : _DAO
- {
- //
- // Property data
- //
-
- __declspec(property(get=GetFields))
- FieldsPtr Fields;
- __declspec(property(get=GetValidationRule))
- _bstr_t ValidationRule;
- __declspec(property(get=GetCacheSize,put=PutCacheSize))
- long CacheSize;
- __declspec(property(get=GetPercentPosition,put=PutPercentPosition))
- float PercentPosition;
- __declspec(property(get=GetAbsolutePosition,put=PutAbsolutePosition))
- long AbsolutePosition;
- __declspec(property(get=GetEditMode))
- short EditMode;
- __declspec(property(get=GetODBCFetchCount))
- long ODBCFetchCount;
- __declspec(property(get=GetODBCFetchDelay))
- long ODBCFetchDelay;
- __declspec(property(get=GetParent))
- DatabasePtr Parent;
- __declspec(property(get=GetIndexes))
- IndexesPtr Indexes;
- __declspec(property(get=GetCollect,put=PutCollect))
- _variant_t Collect[];
- __declspec(property(get=GetBatchSize,put=PutBatchSize))
- long BatchSize;
- __declspec(property(get=GetBatchCollisionCount))
- long BatchCollisionCount;
- __declspec(property(get=GetBatchCollisions))
- _variant_t BatchCollisions;
- __declspec(property(get=GetConnection,put=PutRefConnection))
- ConnectionPtr Connection;
- __declspec(property(get=GetRecordStatus))
- short RecordStatus;
- __declspec(property(get=GetUpdateOptions,put=PutUpdateOptions))
- long UpdateOptions;
- __declspec(property(get=GethStmt))
- long hStmt;
- __declspec(property(get=GetStillExecuting))
- VARIANT_BOOL StillExecuting;
- __declspec(property(get=GetBOF))
- VARIANT_BOOL BOF;
- __declspec(property(get=GetBookmarkable))
- VARIANT_BOOL Bookmarkable;
- __declspec(property(get=GetDateCreated))
- _variant_t DateCreated;
- __declspec(property(get=GetEOF))
- VARIANT_BOOL EOF;
- __declspec(property(get=GetFilter,put=PutFilter))
- _bstr_t Filter;
- __declspec(property(get=GetIndex,put=PutIndex))
- _bstr_t Index;
- __declspec(property(get=GetLastModified))
- SAFEARRAY * LastModified;
- __declspec(property(get=GetLastUpdated))
- _variant_t LastUpdated;
- __declspec(property(get=GetLockEdits,put=PutLockEdits))
- VARIANT_BOOL LockEdits;
- __declspec(property(get=GetName))
- _bstr_t Name;
- __declspec(property(get=GetNoMatch))
- VARIANT_BOOL NoMatch;
- __declspec(property(get=GetSort,put=PutSort))
- _bstr_t Sort;
- __declspec(property(get=GetTransactions))
- VARIANT_BOOL Transactions;
- __declspec(property(get=GetType))
- short Type;
- __declspec(property(get=GetRecordCount))
- long RecordCount;
- __declspec(property(get=GetUpdatable))
- VARIANT_BOOL Updatable;
- __declspec(property(get=GetRestartable))
- VARIANT_BOOL Restartable;
- __declspec(property(get=GetValidationText))
- _bstr_t ValidationText;
-
- //
- // Wrapper methods for error-handling
- //
-
- VARIANT_BOOL GetBOF ( );
- SAFEARRAY * GetBookmark ( );
- void PutBookmark (
- SAFEARRAY * * ppsach );
- VARIANT_BOOL GetBookmarkable ( );
- _variant_t GetDateCreated ( );
- VARIANT_BOOL GetEOF ( );
- _bstr_t GetFilter ( );
- void PutFilter (
- _bstr_t pbstr );
- _bstr_t GetIndex ( );
- void PutIndex (
- _bstr_t pbstr );
- SAFEARRAY * GetLastModified ( );
- _variant_t GetLastUpdated ( );
- VARIANT_BOOL GetLockEdits ( );
- void PutLockEdits (
- VARIANT_BOOL pb );
- _bstr_t GetName ( );
- VARIANT_BOOL GetNoMatch ( );
- _bstr_t GetSort ( );
- void PutSort (
- _bstr_t pbstr );
- VARIANT_BOOL GetTransactions ( );
- short GetType ( );
- long GetRecordCount ( );
- VARIANT_BOOL GetUpdatable ( );
- VARIANT_BOOL GetRestartable ( );
- _bstr_t GetValidationText ( );
- _bstr_t GetValidationRule ( );
- SAFEARRAY * GetCacheStart ( );
- void PutCacheStart (
- SAFEARRAY * * ppsa );
- long GetCacheSize ( );
- void PutCacheSize (
- long pl );
- float GetPercentPosition ( );
- void PutPercentPosition (
- float pd );
- long GetAbsolutePosition ( );
- void PutAbsolutePosition (
- long pl );
- short GetEditMode ( );
- long GetODBCFetchCount ( );
- long GetODBCFetchDelay ( );
- DatabasePtr GetParent ( );
- FieldsPtr GetFields ( );
- IndexesPtr GetIndexes ( );
- HRESULT _30_CancelUpdate ( );
- HRESULT AddNew ( );
- HRESULT Close ( );
- RecordsetPtr OpenRecordset (
- const _variant_t & Type = vtMissing,
- const _variant_t & Options = vtMissing );
- HRESULT Delete ( );
- HRESULT Edit ( );
- HRESULT FindFirst (
- _bstr_t Criteria );
- HRESULT FindLast (
- _bstr_t Criteria );
- HRESULT FindNext (
- _bstr_t Criteria );
- HRESULT FindPrevious (
- _bstr_t Criteria );
- HRESULT MoveFirst ( );
- HRESULT _30_MoveLast ( );
- HRESULT MoveNext ( );
- HRESULT MovePrevious ( );
- HRESULT Seek (
- _bstr_t Comparison,
- const _variant_t & Key1,
- const _variant_t & Key2 = vtMissing,
- const _variant_t & Key3 = vtMissing,
- const _variant_t & Key4 = vtMissing,
- const _variant_t & Key5 = vtMissing,
- const _variant_t & Key6 = vtMissing,
- const _variant_t & Key7 = vtMissing,
- const _variant_t & Key8 = vtMissing,
- const _variant_t & Key9 = vtMissing,
- const _variant_t & Key10 = vtMissing,
- const _variant_t & Key11 = vtMissing,
- const _variant_t & Key12 = vtMissing,
- const _variant_t & Key13 = vtMissing );
- HRESULT _30_Update ( );
- RecordsetPtr Clone ( );
- HRESULT Requery (
- const _variant_t & NewQueryDef = vtMissing );
- HRESULT Move (
- long Rows,
- const _variant_t & StartBookmark = vtMissing );
- HRESULT FillCache (
- const _variant_t & Rows = vtMissing,
- const _variant_t & StartBookmark = vtMissing );
- RecordsetPtr CreateDynaset (
- const _variant_t & Options = vtMissing,
- const _variant_t & Inconsistent = vtMissing );
- RecordsetPtr CreateSnapshot (
- const _variant_t & Options = vtMissing );
- _QueryDefPtr CopyQueryDef ( );
- RecordsetPtr ListFields ( );
- RecordsetPtr ListIndexes ( );
- _variant_t GetRows (
- const _variant_t & NumRows = vtMissing );
- _variant_t GetCollect (
- const _variant_t & Index );
- void PutCollect (
- const _variant_t & Index,
- const _variant_t & pvar );
- HRESULT Cancel ( );
- VARIANT_BOOL NextRecordset ( );
- long GethStmt ( );
- VARIANT_BOOL GetStillExecuting ( );
- long GetBatchSize ( );
- void PutBatchSize (
- long pl );
- long GetBatchCollisionCount ( );
- _variant_t GetBatchCollisions ( );
- ConnectionPtr GetConnection ( );
- void PutRefConnection (
- struct Connection * ppCn );
- short GetRecordStatus ( );
- long GetUpdateOptions ( );
- void PutUpdateOptions (
- long pl );
- HRESULT CancelUpdate (
- long UpdateType );
- HRESULT Update (
- long UpdateType,
- VARIANT_BOOL Force );
- HRESULT MoveLast (
- long Options );
-
- //
- // Raw methods provided by interface
- //
-
- virtual HRESULT __stdcall get_BOF (
- VARIANT_BOOL * pb ) = 0;
- virtual HRESULT __stdcall get_Bookmark (
- SAFEARRAY * * ppsach ) = 0;
- virtual HRESULT __stdcall put_Bookmark (
- SAFEARRAY * * ppsach ) = 0;
- virtual HRESULT __stdcall get_Bookmarkable (
- VARIANT_BOOL * pb ) = 0;
- virtual HRESULT __stdcall get_DateCreated (
- VARIANT * pvar ) = 0;
- virtual HRESULT __stdcall get_EOF (
- VARIANT_BOOL * pb ) = 0;
- virtual HRESULT __stdcall get_Filter (
- BSTR * pbstr ) = 0;
- virtual HRESULT __stdcall put_Filter (
- BSTR pbstr ) = 0;
- virtual HRESULT __stdcall get_Index (
- BSTR * pbstr ) = 0;
- virtual HRESULT __stdcall put_Index (
- BSTR pbstr ) = 0;
- virtual HRESULT __stdcall get_LastModified (
- SAFEARRAY * * ppsa ) = 0;
- virtual HRESULT __stdcall get_LastUpdated (
- VARIANT * pvar ) = 0;
- virtual HRESULT __stdcall get_LockEdits (
- VARIANT_BOOL * pb ) = 0;
- virtual HRESULT __stdcall put_LockEdits (
- VARIANT_BOOL pb ) = 0;
- virtual HRESULT __stdcall get_Name (
- BSTR * pbstr ) = 0;
- virtual HRESULT __stdcall get_NoMatch (
- VARIANT_BOOL * pb ) = 0;
- virtual HRESULT __stdcall get_Sort (
- BSTR * pbstr ) = 0;
- virtual HRESULT __stdcall put_Sort (
- BSTR pbstr ) = 0;
- virtual HRESULT __stdcall get_Transactions (
- VARIANT_BOOL * pb ) = 0;
- virtual HRESULT __stdcall get_Type (
- short * ps ) = 0;
- virtual HRESULT __stdcall get_RecordCount (
- long * pl ) = 0;
- virtual HRESULT __stdcall get_Updatable (
- VARIANT_BOOL * pb ) = 0;
- virtual HRESULT __stdcall get_Restartable (
- VARIANT_BOOL * pb ) = 0;
- virtual HRESULT __stdcall get_ValidationText (
- BSTR * pbstr ) = 0;
- virtual HRESULT __stdcall get_ValidationRule (
- BSTR * pbstr ) = 0;
- virtual HRESULT __stdcall get_CacheStart (
- SAFEARRAY * * ppsa ) = 0;
- virtual HRESULT __stdcall put_CacheStart (
- SAFEARRAY * * ppsa ) = 0;
- virtual HRESULT __stdcall get_CacheSize (
- long * pl ) = 0;
- virtual HRESULT __stdcall put_CacheSize (
- long pl ) = 0;
- virtual HRESULT __stdcall get_PercentPosition (
- float * pd ) = 0;
- virtual HRESULT __stdcall put_PercentPosition (
- float pd ) = 0;
- virtual HRESULT __stdcall get_AbsolutePosition (
- long * pl ) = 0;
- virtual HRESULT __stdcall put_AbsolutePosition (
- long pl ) = 0;
- virtual HRESULT __stdcall get_EditMode (
- short * pi ) = 0;
- virtual HRESULT __stdcall get_ODBCFetchCount (
- long * pl ) = 0;
- virtual HRESULT __stdcall get_ODBCFetchDelay (
- long * pl ) = 0;
- virtual HRESULT __stdcall get_Parent (
- struct Database * * pdb ) = 0;
- virtual HRESULT __stdcall get_Fields (
- struct Fields * * ppflds ) = 0;
- virtual HRESULT __stdcall get_Indexes (
- struct Indexes * * ppidxs ) = 0;
- virtual HRESULT __stdcall raw__30_CancelUpdate ( ) = 0;
- virtual HRESULT __stdcall raw_AddNew ( ) = 0;
- virtual HRESULT __stdcall raw_Close ( ) = 0;
- virtual HRESULT __stdcall raw_OpenRecordset (
- VARIANT Type,
- VARIANT Options,
- struct Recordset * * pprst ) = 0;
- virtual HRESULT __stdcall raw_Delete ( ) = 0;
- virtual HRESULT __stdcall raw_Edit ( ) = 0;
- virtual HRESULT __stdcall raw_FindFirst (
- BSTR Criteria ) = 0;
- virtual HRESULT __stdcall raw_FindLast (
- BSTR Criteria ) = 0;
- virtual HRESULT __stdcall raw_FindNext (
- BSTR Criteria ) = 0;
- virtual HRESULT __stdcall raw_FindPrevious (
- BSTR Criteria ) = 0;
- virtual HRESULT __stdcall raw_MoveFirst ( ) = 0;
- virtual HRESULT __stdcall raw__30_MoveLast ( ) = 0;
- virtual HRESULT __stdcall raw_MoveNext ( ) = 0;
- virtual HRESULT __stdcall raw_MovePrevious ( ) = 0;
- virtual HRESULT __stdcall raw_Seek (
- BSTR Comparison,
- VARIANT Key1,
- VARIANT Key2 = vtMissing,
- VARIANT Key3 = vtMissing,
- VARIANT Key4 = vtMissing,
- VARIANT Key5 = vtMissing,
- VARIANT Key6 = vtMissing,
- VARIANT Key7 = vtMissing,
- VARIANT Key8 = vtMissing,
- VARIANT Key9 = vtMissing,
- VARIANT Key10 = vtMissing,
- VARIANT Key11 = vtMissing,
- VARIANT Key12 = vtMissing,
- VARIANT Key13 = vtMissing ) = 0;
- virtual HRESULT __stdcall raw__30_Update ( ) = 0;
- virtual HRESULT __stdcall raw_Clone (
- struct Recordset * * pprst ) = 0;
- virtual HRESULT __stdcall raw_Requery (
- VARIANT NewQueryDef = vtMissing ) = 0;
- virtual HRESULT __stdcall raw_Move (
- long Rows,
- VARIANT StartBookmark = vtMissing ) = 0;
- virtual HRESULT __stdcall raw_FillCache (
- VARIANT Rows = vtMissing,
- VARIANT StartBookmark = vtMissing ) = 0;
- virtual HRESULT __stdcall raw_CreateDynaset (
- VARIANT Options,
- VARIANT Inconsistent,
- struct Recordset * * pprst ) = 0;
- virtual HRESULT __stdcall raw_CreateSnapshot (
- VARIANT Options,
- struct Recordset * * pprst ) = 0;
- virtual HRESULT __stdcall raw_CopyQueryDef (
- struct _QueryDef * * ppqdf ) = 0;
- virtual HRESULT __stdcall raw_ListFields (
- struct Recordset * * pprst ) = 0;
- virtual HRESULT __stdcall raw_ListIndexes (
- struct Recordset * * pprst ) = 0;
- virtual HRESULT __stdcall raw_GetRows (
- VARIANT NumRows,
- VARIANT * pvar ) = 0;
- virtual HRESULT __stdcall get_Collect (
- VARIANT Index,
- VARIANT * pvar ) = 0;
- virtual HRESULT __stdcall put_Collect (
- VARIANT Index,
- VARIANT pvar ) = 0;
- virtual HRESULT __stdcall raw_Cancel ( ) = 0;
- virtual HRESULT __stdcall raw_NextRecordset (
- VARIANT_BOOL * pb ) = 0;
- virtual HRESULT __stdcall get_hStmt (
- long * phStmt ) = 0;
- virtual HRESULT __stdcall get_StillExecuting (
- VARIANT_BOOL * pStillExec ) = 0;
- virtual HRESULT __stdcall get_BatchSize (
- long * pl ) = 0;
- virtual HRESULT __stdcall put_BatchSize (
- long pl ) = 0;
- virtual HRESULT __stdcall get_BatchCollisionCount (
- long * pl ) = 0;
- virtual HRESULT __stdcall get_BatchCollisions (
- VARIANT * pvar ) = 0;
- virtual HRESULT __stdcall get_Connection (
- struct Connection * * ppCn ) = 0;
- virtual HRESULT __stdcall putref_Connection (
- struct Connection * ppCn ) = 0;
- virtual HRESULT __stdcall get_RecordStatus (
- short * pi ) = 0;
- virtual HRESULT __stdcall get_UpdateOptions (
- long * pl ) = 0;
- virtual HRESULT __stdcall put_UpdateOptions (
- long pl ) = 0;
- virtual HRESULT __stdcall raw_CancelUpdate (
- long UpdateType ) = 0;
- virtual HRESULT __stdcall raw_Update (
- long UpdateType,
- VARIANT_BOOL Force ) = 0;
- virtual HRESULT __stdcall raw_MoveLast (
- long Options ) = 0;
- };
-
- struct __declspec(uuid("00000033-0000-0010-8000-00aa006d2ea4"))
- Recordsets : _Collection
- {
- //
- // Property data
- //
-
- __declspec(property(get=GetItem))
- RecordsetPtr Item[];
-
- //
- // Wrapper methods for error-handling
- //
-
- RecordsetPtr GetItem (
- const _variant_t & Index );
-
- //
- // Raw methods provided by interface
- //
-
- virtual HRESULT __stdcall get_Item (
- VARIANT Index,
- struct Recordset * * pprst ) = 0;
- };
-
- struct __declspec(uuid("00000051-0000-0010-8000-00aa006d2ea4"))
- _Field : _DAO
- {
- //
- // Property data
- //
-
- __declspec(property(get=GetCollatingOrder))
- long CollatingOrder;
- __declspec(property(get=GetType,put=PutType))
- short Type;
- __declspec(property(get=GetValue,put=PutValue))
- _variant_t Value;
- __declspec(property(get=GetName,put=PutName))
- _bstr_t Name;
- __declspec(property(get=GetCollectionIndex))
- short CollectionIndex;
- __declspec(property(get=GetSize,put=PutSize))
- long Size;
- __declspec(property(get=GetOriginalValue))
- _variant_t OriginalValue;
- __declspec(property(get=GetSourceField))
- _bstr_t SourceField;
- __declspec(property(get=GetSourceTable))
- _bstr_t SourceTable;
- __declspec(property(get=GetVisibleValue))
- _variant_t VisibleValue;
- __declspec(property(get=GetFieldSize))
- long FieldSize;
- __declspec(property(get=GetAttributes,put=PutAttributes))
- long Attributes;
- __declspec(property(get=GetOrdinalPosition,put=PutOrdinalPosition))
- short OrdinalPosition;
- __declspec(property(get=GetValidationText,put=PutValidationText))
- _bstr_t ValidationText;
- __declspec(property(get=GetValidateOnSet,put=PutValidateOnSet))
- VARIANT_BOOL ValidateOnSet;
- __declspec(property(get=GetValidationRule,put=PutValidationRule))
- _bstr_t ValidationRule;
- __declspec(property(get=GetDefaultValue,put=PutDefaultValue))
- _variant_t DefaultValue;
- __declspec(property(get=GetRequired,put=PutRequired))
- VARIANT_BOOL Required;
- __declspec(property(get=GetAllowZeroLength,put=PutAllowZeroLength))
- VARIANT_BOOL AllowZeroLength;
- __declspec(property(get=GetDataUpdatable))
- VARIANT_BOOL DataUpdatable;
- __declspec(property(get=GetForeignName,put=PutForeignName))
- _bstr_t ForeignName;
-
- //
- // Wrapper methods for error-handling
- //
-
- long GetCollatingOrder ( );
- short GetType ( );
- void PutType (
- short ps );
- _bstr_t GetName ( );
- void PutName (
- _bstr_t pbstr );
- long GetSize ( );
- void PutSize (
- long pl );
- _bstr_t GetSourceField ( );
- _bstr_t GetSourceTable ( );
- _variant_t GetValue ( );
- void PutValue (
- const _variant_t & pvar );
- long GetAttributes ( );
- void PutAttributes (
- long pl );
- short GetOrdinalPosition ( );
- void PutOrdinalPosition (
- short ps );
- _bstr_t GetValidationText ( );
- void PutValidationText (
- _bstr_t pbstr );
- VARIANT_BOOL GetValidateOnSet ( );
- void PutValidateOnSet (
- VARIANT_BOOL pb );
- _bstr_t GetValidationRule ( );
- void PutValidationRule (
- _bstr_t pbstr );
- _variant_t GetDefaultValue ( );
- void PutDefaultValue (
- const _variant_t & pvar );
- VARIANT_BOOL GetRequired ( );
- void PutRequired (
- VARIANT_BOOL pb );
- VARIANT_BOOL GetAllowZeroLength ( );
- void PutAllowZeroLength (
- VARIANT_BOOL pb );
- VARIANT_BOOL GetDataUpdatable ( );
- _bstr_t GetForeignName ( );
- void PutForeignName (
- _bstr_t pbstr );
- HRESULT AppendChunk (
- const _variant_t & Val );
- _variant_t GetChunk (
- long Offset,
- long Bytes );
- long _30_FieldSize ( );
- PropertyPtr CreateProperty (
- const _variant_t & Name = vtMissing,
- const _variant_t & Type = vtMissing,
- const _variant_t & Value = vtMissing,
- const _variant_t & DDL = vtMissing );
- short GetCollectionIndex ( );
- _variant_t GetOriginalValue ( );
- _variant_t GetVisibleValue ( );
- long GetFieldSize ( );
-
- //
- // Raw methods provided by interface
- //
-
- virtual HRESULT __stdcall get_CollatingOrder (
- long * pl ) = 0;
- virtual HRESULT __stdcall get_Type (
- short * ps ) = 0;
- virtual HRESULT __stdcall put_Type (
- short ps ) = 0;
- virtual HRESULT __stdcall get_Name (
- BSTR * pbstr ) = 0;
- virtual HRESULT __stdcall put_Name (
- BSTR pbstr ) = 0;
- virtual HRESULT __stdcall get_Size (
- long * pl ) = 0;
- virtual HRESULT __stdcall put_Size (
- long pl ) = 0;
- virtual HRESULT __stdcall get_SourceField (
- BSTR * pbstr ) = 0;
- virtual HRESULT __stdcall get_SourceTable (
- BSTR * pbstr ) = 0;
- virtual HRESULT __stdcall get_Value (
- VARIANT * pvar ) = 0;
- virtual HRESULT __stdcall put_Value (
- VARIANT pvar ) = 0;
- virtual HRESULT __stdcall get_Attributes (
- long * pl ) = 0;
- virtual HRESULT __stdcall put_Attributes (
- long pl ) = 0;
- virtual HRESULT __stdcall get_OrdinalPosition (
- short * ps ) = 0;
- virtual HRESULT __stdcall put_OrdinalPosition (
- short ps ) = 0;
- virtual HRESULT __stdcall get_ValidationText (
- BSTR * pbstr ) = 0;
- virtual HRESULT __stdcall put_ValidationText (
- BSTR pbstr ) = 0;
- virtual HRESULT __stdcall get_ValidateOnSet (
- VARIANT_BOOL * pb ) = 0;
- virtual HRESULT __stdcall put_ValidateOnSet (
- VARIANT_BOOL pb ) = 0;
- virtual HRESULT __stdcall get_ValidationRule (
- BSTR * pbstr ) = 0;
- virtual HRESULT __stdcall put_ValidationRule (
- BSTR pbstr ) = 0;
- virtual HRESULT __stdcall get_DefaultValue (
- VARIANT * pvar ) = 0;
- virtual HRESULT __stdcall put_DefaultValue (
- VARIANT pvar ) = 0;
- virtual HRESULT __stdcall get_Required (
- VARIANT_BOOL * pb ) = 0;
- virtual HRESULT __stdcall put_Required (
- VARIANT_BOOL pb ) = 0;
- virtual HRESULT __stdcall get_AllowZeroLength (
- VARIANT_BOOL * pb ) = 0;
- virtual HRESULT __stdcall put_AllowZeroLength (
- VARIANT_BOOL pb ) = 0;
- virtual HRESULT __stdcall get_DataUpdatable (
- VARIANT_BOOL * pb ) = 0;
- virtual HRESULT __stdcall get_ForeignName (
- BSTR * pbstr ) = 0;
- virtual HRESULT __stdcall put_ForeignName (
- BSTR pbstr ) = 0;
- virtual HRESULT __stdcall raw_AppendChunk (
- VARIANT Val ) = 0;
- virtual HRESULT __stdcall raw_GetChunk (
- long Offset,
- long Bytes,
- VARIANT * pvar ) = 0;
- virtual HRESULT __stdcall raw__30_FieldSize (
- long * pl ) = 0;
- virtual HRESULT __stdcall raw_CreateProperty (
- VARIANT Name,
- VARIANT Type,
- VARIANT Value,
- VARIANT DDL,
- struct Property * * pprp ) = 0;
- virtual HRESULT __stdcall get_CollectionIndex (
- short * i ) = 0;
- virtual HRESULT __stdcall get_OriginalValue (
- VARIANT * pvar ) = 0;
- virtual HRESULT __stdcall get_VisibleValue (
- VARIANT * pvar ) = 0;
- virtual HRESULT __stdcall get_FieldSize (
- long * pl ) = 0;
- };
-
- struct __declspec(uuid("00000014-0000-0010-8000-00aa006d2ea4"))
- Field;
- // [ default ] interface _Field
-
- struct __declspec(uuid("00000053-0000-0010-8000-00aa006d2ea4"))
- Fields : _DynaCollection
- {
- //
- // Property data
- //
-
- __declspec(property(get=GetItem))
- _FieldPtr Item[];
-
- //
- // Wrapper methods for error-handling
- //
-
- _FieldPtr GetItem (
- const _variant_t & Index );
-
- //
- // Raw methods provided by interface
- //
-
- virtual HRESULT __stdcall get_Item (
- VARIANT Index,
- struct _Field * * ppfld ) = 0;
- };
-
- struct __declspec(uuid("00000059-0000-0010-8000-00aa006d2ea4"))
- _Index : _DAO
- {
- //
- // Property data
- //
-
- __declspec(property(get=GetName,put=PutName))
- _bstr_t Name;
- __declspec(property(get=GetForeign))
- VARIANT_BOOL Foreign;
- __declspec(property(get=GetUnique,put=PutUnique))
- VARIANT_BOOL Unique;
- __declspec(property(get=GetClustered,put=PutClustered))
- VARIANT_BOOL Clustered;
- __declspec(property(get=GetRequired,put=PutRequired))
- VARIANT_BOOL Required;
- __declspec(property(get=GetIgnoreNulls,put=PutIgnoreNulls))
- VARIANT_BOOL IgnoreNulls;
- __declspec(property(get=GetPrimary,put=PutPrimary))
- VARIANT_BOOL Primary;
- __declspec(property(get=GetDistinctCount))
- long DistinctCount;
- __declspec(property(get=GetFields,put=PutFields))
- _variant_t Fields;
-
- //
- // Wrapper methods for error-handling
- //
-
- _bstr_t GetName ( );
- void PutName (
- _bstr_t pbstr );
- VARIANT_BOOL GetForeign ( );
- VARIANT_BOOL GetUnique ( );
- void PutUnique (
- VARIANT_BOOL pb );
- VARIANT_BOOL GetClustered ( );
- void PutClustered (
- VARIANT_BOOL pb );
- VARIANT_BOOL GetRequired ( );
- void PutRequired (
- VARIANT_BOOL pb );
- VARIANT_BOOL GetIgnoreNulls ( );
- void PutIgnoreNulls (
- VARIANT_BOOL pb );
- VARIANT_BOOL GetPrimary ( );
- void PutPrimary (
- VARIANT_BOOL pb );
- long GetDistinctCount ( );
- _variant_t GetFields ( );
- void PutFields (
- const _variant_t & pv );
- _FieldPtr CreateField (
- const _variant_t & Name = vtMissing,
- const _variant_t & Type = vtMissing,
- const _variant_t & Size = vtMissing );
- PropertyPtr CreateProperty (
- const _variant_t & Name = vtMissing,
- const _variant_t & Type = vtMissing,
- const _variant_t & Value = vtMissing,
- const _variant_t & DDL = vtMissing );
-
- //
- // Raw methods provided by interface
- //
-
- virtual HRESULT __stdcall get_Name (
- BSTR * pbstr ) = 0;
- virtual HRESULT __stdcall put_Name (
- BSTR pbstr ) = 0;
- virtual HRESULT __stdcall get_Foreign (
- VARIANT_BOOL * pb ) = 0;
- virtual HRESULT __stdcall get_Unique (
- VARIANT_BOOL * pb ) = 0;
- virtual HRESULT __stdcall put_Unique (
- VARIANT_BOOL pb ) = 0;
- virtual HRESULT __stdcall get_Clustered (
- VARIANT_BOOL * pb ) = 0;
- virtual HRESULT __stdcall put_Clustered (
- VARIANT_BOOL pb ) = 0;
- virtual HRESULT __stdcall get_Required (
- VARIANT_BOOL * pb ) = 0;
- virtual HRESULT __stdcall put_Required (
- VARIANT_BOOL pb ) = 0;
- virtual HRESULT __stdcall get_IgnoreNulls (
- VARIANT_BOOL * pb ) = 0;
- virtual HRESULT __stdcall put_IgnoreNulls (
- VARIANT_BOOL pb ) = 0;
- virtual HRESULT __stdcall get_Primary (
- VARIANT_BOOL * pb ) = 0;
- virtual HRESULT __stdcall put_Primary (
- VARIANT_BOOL pb ) = 0;
- virtual HRESULT __stdcall get_DistinctCount (
- long * pl ) = 0;
- virtual HRESULT __stdcall get_Fields (
- VARIANT * pv ) = 0;
- virtual HRESULT __stdcall put_Fields (
- VARIANT pv ) = 0;
- virtual HRESULT __stdcall raw_CreateField (
- VARIANT Name,
- VARIANT Type,
- VARIANT Size,
- struct _Field * * ppfld ) = 0;
- virtual HRESULT __stdcall raw_CreateProperty (
- VARIANT Name,
- VARIANT Type,
- VARIANT Value,
- VARIANT DDL,
- struct Property * * pprp ) = 0;
- };
-
- struct __declspec(uuid("00000015-0000-0010-8000-00aa006d2ea4"))
- Index;
- // [ default ] interface _Index
-
- struct __declspec(uuid("0000005b-0000-0010-8000-00aa006d2ea4"))
- Indexes : _DynaCollection
- {
- //
- // Property data
- //
-
- __declspec(property(get=GetItem))
- _IndexPtr Item[];
-
- //
- // Wrapper methods for error-handling
- //
-
- _IndexPtr GetItem (
- const _variant_t & Index );
-
- //
- // Raw methods provided by interface
- //
-
- virtual HRESULT __stdcall get_Item (
- VARIANT Index,
- struct _Index * * ppidx ) = 0;
- };
-
- struct __declspec(uuid("0000005d-0000-0010-8000-00aa006d2ea4"))
- IndexFields : _DynaCollection
- {
- //
- // Property data
- //
-
- __declspec(property(get=GetItem))
- _variant_t Item[];
-
- //
- // Wrapper methods for error-handling
- //
-
- _variant_t GetItem (
- const _variant_t & Index = vtMissing );
-
- //
- // Raw methods provided by interface
- //
-
- virtual HRESULT __stdcall get_Item (
- VARIANT Index,
- VARIANT * pvar ) = 0;
- };
-
- struct __declspec(uuid("00000081-0000-0010-8000-00aa006d2ea4"))
- Parameter : _DAO
- {
- //
- // Property data
- //
-
- __declspec(property(get=GetName))
- _bstr_t Name;
- __declspec(property(get=GetValue,put=PutValue))
- _variant_t Value;
- __declspec(property(get=GetType,put=PutType))
- short Type;
- __declspec(property(get=GetDirection,put=PutDirection))
- short Direction;
-
- //
- // Wrapper methods for error-handling
- //
-
- _bstr_t GetName ( );
- _variant_t GetValue ( );
- void PutValue (
- const _variant_t & pvar );
- short GetType ( );
- void PutType (
- short ps );
- short GetDirection ( );
- void PutDirection (
- short pOption );
-
- //
- // Raw methods provided by interface
- //
-
- virtual HRESULT __stdcall get_Name (
- BSTR * pbstr ) = 0;
- virtual HRESULT __stdcall get_Value (
- VARIANT * pvar ) = 0;
- virtual HRESULT __stdcall put_Value (
- VARIANT pvar ) = 0;
- virtual HRESULT __stdcall get_Type (
- short * ps ) = 0;
- virtual HRESULT __stdcall put_Type (
- short ps ) = 0;
- virtual HRESULT __stdcall get_Direction (
- short * pOption ) = 0;
- virtual HRESULT __stdcall put_Direction (
- short pOption ) = 0;
- };
-
- struct __declspec(uuid("00000083-0000-0010-8000-00aa006d2ea4"))
- Parameters : _Collection
- {
- //
- // Property data
- //
-
- __declspec(property(get=GetItem))
- ParameterPtr Item[];
-
- //
- // Wrapper methods for error-handling
- //
-
- ParameterPtr GetItem (
- const _variant_t & Index );
-
- //
- // Raw methods provided by interface
- //
-
- virtual HRESULT __stdcall get_Item (
- VARIANT Index,
- struct Parameter * * ppprm ) = 0;
- };
-
- struct __declspec(uuid("00000069-0000-0010-8000-00aa006d2ea4"))
- _User : _DAO
- {
- //
- // Property data
- //
-
- __declspec(property(get=GetName,put=PutName))
- _bstr_t Name;
- __declspec(property(get=GetGroups))
- GroupsPtr Groups;
- __declspec(property(put=PutPID))
- _bstr_t PID;
- __declspec(property(put=PutPassword))
- _bstr_t Password;
-
- //
- // Wrapper methods for error-handling
- //
-
- _bstr_t GetName ( );
- void PutName (
- _bstr_t pbstr );
- void PutPID (
- _bstr_t _arg1 );
- void PutPassword (
- _bstr_t _arg1 );
- GroupsPtr GetGroups ( );
- HRESULT NewPassword (
- _bstr_t bstrOld,
- _bstr_t bstrNew );
- _GroupPtr CreateGroup (
- const _variant_t & Name = vtMissing,
- const _variant_t & PID = vtMissing );
-
- //
- // Raw methods provided by interface
- //
-
- virtual HRESULT __stdcall get_Name (
- BSTR * pbstr ) = 0;
- virtual HRESULT __stdcall put_Name (
- BSTR pbstr ) = 0;
- virtual HRESULT __stdcall put_PID (
- BSTR _arg1 ) = 0;
- virtual HRESULT __stdcall put_Password (
- BSTR _arg1 ) = 0;
- virtual HRESULT __stdcall get_Groups (
- struct Groups * * ppgrps ) = 0;
- virtual HRESULT __stdcall raw_NewPassword (
- BSTR bstrOld,
- BSTR bstrNew ) = 0;
- virtual HRESULT __stdcall raw_CreateGroup (
- VARIANT Name,
- VARIANT PID,
- struct _Group * * ppgrp ) = 0;
- };
-
- struct __declspec(uuid("00000017-0000-0010-8000-00aa006d2ea4"))
- User;
- // [ default ] interface _User
-
- struct __declspec(uuid("0000006b-0000-0010-8000-00aa006d2ea4"))
- Users : _DynaCollection
- {
- //
- // Property data
- //
-
- __declspec(property(get=GetItem))
- _UserPtr Item[];
-
- //
- // Wrapper methods for error-handling
- //
-
- _UserPtr GetItem (
- const _variant_t & Index );
-
- //
- // Raw methods provided by interface
- //
-
- virtual HRESULT __stdcall get_Item (
- VARIANT Index,
- struct _User * * ppusr ) = 0;
- };
-
- struct __declspec(uuid("00000061-0000-0010-8000-00aa006d2ea4"))
- _Group : _DAO
- {
- //
- // Property data
- //
-
- __declspec(property(get=GetName,put=PutName))
- _bstr_t Name;
- __declspec(property(get=GetUsers))
- UsersPtr Users;
- __declspec(property(put=PutPID))
- _bstr_t PID;
-
- //
- // Wrapper methods for error-handling
- //
-
- _bstr_t GetName ( );
- void PutName (
- _bstr_t pbstr );
- void PutPID (
- _bstr_t _arg1 );
- UsersPtr GetUsers ( );
- _UserPtr CreateUser (
- const _variant_t & Name = vtMissing,
- const _variant_t & PID = vtMissing,
- const _variant_t & Password = vtMissing );
-
- //
- // Raw methods provided by interface
- //
-
- virtual HRESULT __stdcall get_Name (
- BSTR * pbstr ) = 0;
- virtual HRESULT __stdcall put_Name (
- BSTR pbstr ) = 0;
- virtual HRESULT __stdcall put_PID (
- BSTR _arg1 ) = 0;
- virtual HRESULT __stdcall get_Users (
- struct Users * * ppusrs ) = 0;
- virtual HRESULT __stdcall raw_CreateUser (
- VARIANT Name,
- VARIANT PID,
- VARIANT Password,
- struct _User * * ppusr ) = 0;
- };
-
- struct __declspec(uuid("00000016-0000-0010-8000-00aa006d2ea4"))
- Group;
- // [ default ] interface _Group
-
- struct __declspec(uuid("00000063-0000-0010-8000-00aa006d2ea4"))
- Groups : _DynaCollection
- {
- //
- // Property data
- //
-
- __declspec(property(get=GetItem))
- _GroupPtr Item[];
-
- //
- // Wrapper methods for error-handling
- //
-
- _GroupPtr GetItem (
- const _variant_t & Index );
-
- //
- // Raw methods provided by interface
- //
-
- virtual HRESULT __stdcall get_Item (
- VARIANT Index,
- struct _Group * * ppgrp ) = 0;
- };
-
- struct __declspec(uuid("00000089-0000-0010-8000-00aa006d2ea4"))
- _Relation : _DAO
- {
- //
- // Property data
- //
-
- __declspec(property(get=GetName,put=PutName))
- _bstr_t Name;
- __declspec(property(get=GetFields))
- FieldsPtr Fields;
- __declspec(property(get=GetTable,put=PutTable))
- _bstr_t Table;
- __declspec(property(get=GetForeignTable,put=PutForeignTable))
- _bstr_t ForeignTable;
- __declspec(property(get=GetAttributes,put=PutAttributes))
- long Attributes;
- __declspec(property(get=GetPartialReplica,put=PutPartialReplica))
- VARIANT_BOOL PartialReplica;
-
- //
- // Wrapper methods for error-handling
- //
-
- _bstr_t GetName ( );
- void PutName (
- _bstr_t pbstr );
- _bstr_t GetTable ( );
- void PutTable (
- _bstr_t pbstr );
- _bstr_t GetForeignTable ( );
- void PutForeignTable (
- _bstr_t pbstr );
- long GetAttributes ( );
- void PutAttributes (
- long pl );
- FieldsPtr GetFields ( );
- _FieldPtr CreateField (
- const _variant_t & Name = vtMissing,
- const _variant_t & Type = vtMissing,
- const _variant_t & Size = vtMissing );
- VARIANT_BOOL GetPartialReplica ( );
- void PutPartialReplica (
- VARIANT_BOOL pfPartialReplica );
-
- //
- // Raw methods provided by interface
- //
-
- virtual HRESULT __stdcall get_Name (
- BSTR * pbstr ) = 0;
- virtual HRESULT __stdcall put_Name (
- BSTR pbstr ) = 0;
- virtual HRESULT __stdcall get_Table (
- BSTR * pbstr ) = 0;
- virtual HRESULT __stdcall put_Table (
- BSTR pbstr ) = 0;
- virtual HRESULT __stdcall get_ForeignTable (
- BSTR * pbstr ) = 0;
- virtual HRESULT __stdcall put_ForeignTable (
- BSTR pbstr ) = 0;
- virtual HRESULT __stdcall get_Attributes (
- long * pl ) = 0;
- virtual HRESULT __stdcall put_Attributes (
- long pl ) = 0;
- virtual HRESULT __stdcall get_Fields (
- struct Fields * * ppflds ) = 0;
- virtual HRESULT __stdcall raw_CreateField (
- VARIANT Name,
- VARIANT Type,
- VARIANT Size,
- struct _Field * * ppfld ) = 0;
- virtual HRESULT __stdcall get_PartialReplica (
- VARIANT_BOOL * pfPartialReplica ) = 0;
- virtual HRESULT __stdcall put_PartialReplica (
- VARIANT_BOOL pfPartialReplica ) = 0;
- };
-
- struct __declspec(uuid("00000019-0000-0010-8000-00aa006d2ea4"))
- Relation;
- // [ default ] interface _Relation
-
- struct __declspec(uuid("0000008b-0000-0010-8000-00aa006d2ea4"))
- Relations : _DynaCollection
- {
- //
- // Property data
- //
-
- __declspec(property(get=GetItem))
- _RelationPtr Item[];
-
- //
- // Wrapper methods for error-handling
- //
-
- _RelationPtr GetItem (
- const _variant_t & Index );
-
- //
- // Raw methods provided by interface
- //
-
- virtual HRESULT __stdcall get_Item (
- VARIANT Index,
- struct _Relation * * pprel ) = 0;
- };
-
- struct __declspec(uuid("00000027-0000-0010-8000-00aa006d2ea4"))
- Property : _DAO
- {
- //
- // Property data
- //
-
- __declspec(property(get=GetValue,put=PutValue))
- _variant_t Value;
- __declspec(property(get=GetName,put=PutName))
- _bstr_t Name;
- __declspec(property(get=GetType,put=PutType))
- short Type;
- __declspec(property(get=GetInherited))
- VARIANT_BOOL Inherited;
-
- //
- // Wrapper methods for error-handling
- //
-
- _variant_t GetValue ( );
- void PutValue (
- const _variant_t & pval );
- _bstr_t GetName ( );
- void PutName (
- _bstr_t pbstr );
- short GetType ( );
- void PutType (
- short ptype );
- VARIANT_BOOL GetInherited ( );
-
- //
- // Raw methods provided by interface
- //
-
- virtual HRESULT __stdcall get_Value (
- VARIANT * pval ) = 0;
- virtual HRESULT __stdcall put_Value (
- VARIANT pval ) = 0;
- virtual HRESULT __stdcall get_Name (
- BSTR * pbstr ) = 0;
- virtual HRESULT __stdcall put_Name (
- BSTR pbstr ) = 0;
- virtual HRESULT __stdcall get_Type (
- short * ptype ) = 0;
- virtual HRESULT __stdcall put_Type (
- short ptype ) = 0;
- virtual HRESULT __stdcall get_Inherited (
- VARIANT_BOOL * pb ) = 0;
- };
-
- struct __declspec(uuid("00000029-0000-0010-8000-00aa006d2ea4"))
- Properties : _DynaCollection
- {
- //
- // Property data
- //
-
- __declspec(property(get=GetItem))
- PropertyPtr Item[];
-
- //
- // Wrapper methods for error-handling
- //
-
- PropertyPtr GetItem (
- const _variant_t & Index );
-
- //
- // Raw methods provided by interface
- //
-
- virtual HRESULT __stdcall get_Item (
- VARIANT Index,
- struct Property * * ppprop ) = 0;
- };
-
- struct __declspec(uuid("00000091-0000-0010-8000-00aa006d2ea4"))
- Container : _DAO
- {
- //
- // Property data
- //
-
- __declspec(property(get=GetName))
- _bstr_t Name;
- __declspec(property(get=GetOwner,put=PutOwner))
- _bstr_t Owner;
- __declspec(property(get=GetDocuments))
- DocumentsPtr Documents;
- __declspec(property(get=GetUserName,put=PutUserName))
- _bstr_t UserName;
- __declspec(property(get=GetPermissions,put=PutPermissions))
- long Permissions;
- __declspec(property(get=GetInherit,put=PutInherit))
- VARIANT_BOOL Inherit;
- __declspec(property(get=GetAllPermissions))
- long AllPermissions;
-
- //
- // Wrapper methods for error-handling
- //
-
- _bstr_t GetName ( );
- _bstr_t GetOwner ( );
- void PutOwner (
- _bstr_t pbstr );
- _bstr_t GetUserName ( );
- void PutUserName (
- _bstr_t pbstr );
- long GetPermissions ( );
- void PutPermissions (
- long pl );
- VARIANT_BOOL GetInherit ( );
- void PutInherit (
- VARIANT_BOOL pb );
- DocumentsPtr GetDocuments ( );
- long GetAllPermissions ( );
-
- //
- // Raw methods provided by interface
- //
-
- virtual HRESULT __stdcall get_Name (
- BSTR * pbstr ) = 0;
- virtual HRESULT __stdcall get_Owner (
- BSTR * pbstr ) = 0;
- virtual HRESULT __stdcall put_Owner (
- BSTR pbstr ) = 0;
- virtual HRESULT __stdcall get_UserName (
- BSTR * pbstr ) = 0;
- virtual HRESULT __stdcall put_UserName (
- BSTR pbstr ) = 0;
- virtual HRESULT __stdcall get_Permissions (
- long * pl ) = 0;
- virtual HRESULT __stdcall put_Permissions (
- long pl ) = 0;
- virtual HRESULT __stdcall get_Inherit (
- VARIANT_BOOL * pb ) = 0;
- virtual HRESULT __stdcall put_Inherit (
- VARIANT_BOOL pb ) = 0;
- virtual HRESULT __stdcall get_Documents (
- struct Documents * * ppdocs ) = 0;
- virtual HRESULT __stdcall get_AllPermissions (
- long * pl ) = 0;
- };
-
- struct __declspec(uuid("00000093-0000-0010-8000-00aa006d2ea4"))
- Containers : _Collection
- {
- //
- // Property data
- //
-
- __declspec(property(get=GetItem))
- ContainerPtr Item[];
-
- //
- // Wrapper methods for error-handling
- //
-
- ContainerPtr GetItem (
- const _variant_t & Index );
-
- //
- // Raw methods provided by interface
- //
-
- virtual HRESULT __stdcall get_Item (
- VARIANT Index,
- struct Container * * ppctn ) = 0;
- };
-
- struct __declspec(uuid("00000099-0000-0010-8000-00aa006d2ea4"))
- Document : _DAO
- {
- //
- // Property data
- //
-
- __declspec(property(get=GetName))
- _bstr_t Name;
- __declspec(property(get=GetOwner,put=PutOwner))
- _bstr_t Owner;
- __declspec(property(get=GetContainer))
- _bstr_t Container;
- __declspec(property(get=GetUserName,put=PutUserName))
- _bstr_t UserName;
- __declspec(property(get=GetPermissions,put=PutPermissions))
- long Permissions;
- __declspec(property(get=GetDateCreated))
- _variant_t DateCreated;
- __declspec(property(get=GetLastUpdated))
- _variant_t LastUpdated;
- __declspec(property(get=GetAllPermissions))
- long AllPermissions;
-
- //
- // Wrapper methods for error-handling
- //
-
- _bstr_t GetName ( );
- _bstr_t GetOwner ( );
- void PutOwner (
- _bstr_t pbstr );
- _bstr_t GetContainer ( );
- _bstr_t GetUserName ( );
- void PutUserName (
- _bstr_t pbstr );
- long GetPermissions ( );
- void PutPermissions (
- long pl );
- _variant_t GetDateCreated ( );
- _variant_t GetLastUpdated ( );
- long GetAllPermissions ( );
- PropertyPtr CreateProperty (
- const _variant_t & Name = vtMissing,
- const _variant_t & Type = vtMissing,
- const _variant_t & Value = vtMissing,
- const _variant_t & DDL = vtMissing );
-
- //
- // Raw methods provided by interface
- //
-
- virtual HRESULT __stdcall get_Name (
- BSTR * pbstr ) = 0;
- virtual HRESULT __stdcall get_Owner (
- BSTR * pbstr ) = 0;
- virtual HRESULT __stdcall put_Owner (
- BSTR pbstr ) = 0;
- virtual HRESULT __stdcall get_Container (
- BSTR * pbstr ) = 0;
- virtual HRESULT __stdcall get_UserName (
- BSTR * pbstr ) = 0;
- virtual HRESULT __stdcall put_UserName (
- BSTR pbstr ) = 0;
- virtual HRESULT __stdcall get_Permissions (
- long * pl ) = 0;
- virtual HRESULT __stdcall put_Permissions (
- long pl ) = 0;
- virtual HRESULT __stdcall get_DateCreated (
- VARIANT * pvar ) = 0;
- virtual HRESULT __stdcall get_LastUpdated (
- VARIANT * pvar ) = 0;
- virtual HRESULT __stdcall get_AllPermissions (
- long * pl ) = 0;
- virtual HRESULT __stdcall raw_CreateProperty (
- VARIANT Name,
- VARIANT Type,
- VARIANT Value,
- VARIANT DDL,
- struct Property * * pprp ) = 0;
- };
-
- struct __declspec(uuid("0000009b-0000-0010-8000-00aa006d2ea4"))
- Documents : _Collection
- {
- //
- // Property data
- //
-
- __declspec(property(get=GetItem))
- DocumentPtr Item[];
-
- //
- // Wrapper methods for error-handling
- //
-
- DocumentPtr GetItem (
- const _variant_t & Index );
-
- //
- // Raw methods provided by interface
- //
-
- virtual HRESULT __stdcall get_Item (
- VARIANT Index,
- struct Document * * ppdoc ) = 0;
- };
-
- struct __declspec(uuid("00000041-0000-0010-8000-00aa006d2ea4"))
- Connection : IDispatch
- {
- //
- // Property data
- //
-
- __declspec(property(get=GetName))
- _bstr_t Name;
- __declspec(property(get=GetConnect))
- _bstr_t Connect;
- __declspec(property(get=GetDatabase))
- DatabasePtr Database;
- __declspec(property(get=GethDbc))
- long hDbc;
- __declspec(property(get=GetQueryTimeout,put=PutQueryTimeout))
- short QueryTimeout;
- __declspec(property(get=GetQueryDefs))
- QueryDefsPtr QueryDefs;
- __declspec(property(get=GetTransactions))
- VARIANT_BOOL Transactions;
- __declspec(property(get=GetRecordsAffected))
- long RecordsAffected;
- __declspec(property(get=GetStillExecuting))
- VARIANT_BOOL StillExecuting;
- __declspec(property(get=GetUpdatable))
- VARIANT_BOOL Updatable;
- __declspec(property(get=GetRecordsets))
- RecordsetsPtr Recordsets;
-
- //
- // Wrapper methods for error-handling
- //
-
- _bstr_t GetName ( );
- _bstr_t GetConnect ( );
- DatabasePtr GetDatabase ( );
- long GethDbc ( );
- short GetQueryTimeout ( );
- void PutQueryTimeout (
- short pSeconds );
- VARIANT_BOOL GetTransactions ( );
- long GetRecordsAffected ( );
- VARIANT_BOOL GetStillExecuting ( );
- VARIANT_BOOL GetUpdatable ( );
- QueryDefsPtr GetQueryDefs ( );
- RecordsetsPtr GetRecordsets ( );
- HRESULT Cancel ( );
- HRESULT Close ( );
- _QueryDefPtr CreateQueryDef (
- const _variant_t & Name = vtMissing,
- const _variant_t & SQLText = vtMissing );
- HRESULT Execute (
- _bstr_t Query,
- const _variant_t & Options = vtMissing );
- RecordsetPtr OpenRecordset (
- _bstr_t Name,
- const _variant_t & Type = vtMissing,
- const _variant_t & Options = vtMissing,
- const _variant_t & LockEdit = vtMissing );
-
- //
- // Raw methods provided by interface
- //
-
- virtual HRESULT __stdcall get_Name (
- BSTR * pbstr ) = 0;
- virtual HRESULT __stdcall get_Connect (
- BSTR * pbstr ) = 0;
- virtual HRESULT __stdcall get_Database (
- struct Database * * ppdb ) = 0;
- virtual HRESULT __stdcall get_hDbc (
- long * phDbc ) = 0;
- virtual HRESULT __stdcall get_QueryTimeout (
- short * pSeconds ) = 0;
- virtual HRESULT __stdcall put_QueryTimeout (
- short pSeconds ) = 0;
- virtual HRESULT __stdcall get_Transactions (
- VARIANT_BOOL * pb ) = 0;
- virtual HRESULT __stdcall get_RecordsAffected (
- long * pRecords ) = 0;
- virtual HRESULT __stdcall get_StillExecuting (
- VARIANT_BOOL * pStillExec ) = 0;
- virtual HRESULT __stdcall get_Updatable (
- VARIANT_BOOL * pStillExec ) = 0;
- virtual HRESULT __stdcall get_QueryDefs (
- struct QueryDefs * * ppqdfs ) = 0;
- virtual HRESULT __stdcall get_Recordsets (
- struct Recordsets * * pprsts ) = 0;
- virtual HRESULT __stdcall raw_Cancel ( ) = 0;
- virtual HRESULT __stdcall raw_Close ( ) = 0;
- virtual HRESULT __stdcall raw_CreateQueryDef (
- VARIANT Name,
- VARIANT SQLText,
- struct _QueryDef * * ppqdf ) = 0;
- virtual HRESULT __stdcall raw_Execute (
- BSTR Query,
- VARIANT Options = vtMissing ) = 0;
- virtual HRESULT __stdcall raw_OpenRecordset (
- BSTR Name,
- VARIANT Type,
- VARIANT Options,
- VARIANT LockEdit,
- struct Recordset * * pprst ) = 0;
- };
-
- struct __declspec(uuid("00000043-0000-0010-8000-00aa006d2ea4"))
- Connections : _Collection
- {
- //
- // Property data
- //
-
- __declspec(property(get=GetItem))
- ConnectionPtr Item[];
-
- //
- // Wrapper methods for error-handling
- //
-
- ConnectionPtr GetItem (
- const _variant_t & Index );
-
- //
- // Raw methods provided by interface
- //
-
- virtual HRESULT __stdcall get_Item (
- VARIANT Index,
- struct Connection * * ppconn ) = 0;
- };
-
- struct __declspec(uuid("000000fd-0000-0010-8000-00aa006d2ea4"))
- Snapshot : Recordset
- {};
-
- struct __declspec(uuid("000000fe-0000-0010-8000-00aa006d2ea4"))
- Table : Recordset
- {};
-
- struct __declspec(uuid("000000ff-0000-0010-8000-00aa006d2ea4"))
- Dynaset : Recordset
- {};
-
- //
- // Wrapper method implementations
- //
-
- #include "dao2535.tli"
-
- } // namespace DAO
-
- #pragma pack(pop)
-